/* --- Minimal CSS Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

input,
button {
    font-family: inherit;
    font-size: inherit;
}

/* --- Root Variables for GLAMOUR Branding --- */
:root {
    --bg-main: #000000;
    --green-dark: #111111;
    --green-soft: #f8c400;
    --gold: #c89b00;
    --light: #fff8dc;
    --muted: #d6c27a;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    --radius: 22px;

    --accent-green: #f8c400;
    --accent-dark: #c89b00;

    --card-max-width: 380px;
    --card-padding: 30px;
    --input-height: 48px;
    --input-border-radius: 12px;
    --button-height: 52px;
    --button-border-radius: 12px;
    --input-spacing: 16px;
    --logo-margin-bottom: 20px;

    --font-main: 'Poppins', sans-serif;
    --font-size-base: 16px;
}

html {
    font-size: var(--font-size-base);
}

/* --- Body Layout --- */
body {
    background-color: var(--bg-main);
    font-family: var(--font-main);
    color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Main Card --- */
.signup-card {
    background-color: var(--green-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: var(--card-max-width);
    width: 100%;
    padding: var(--card-padding);
    text-align: center;
}

/* --- Logo Section --- */
.logo-section {
    margin-bottom: var(--logo-margin-bottom);
}

.logo-section img {
    max-width: 80px;
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
}

.logo-section h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--green-soft);
    letter-spacing: 0.5px;
}

.logo-section p {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 5px;
}

/* --- Form Styling --- */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--input-spacing);
}

.form-field input {
    width: 100%;
    height: var(--input-height);
    padding: 0 15px;
    border: 1px solid var(--green-soft);
    border-radius: var(--input-border-radius);
    font-size: 1em;
    color: var(--light);
    background-color: transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 0, 0.2);
    outline: none;
}

.form-field input::placeholder {
    color: var(--muted);
    opacity: 1;
}

/* --- Select Package Styling --- */
.form-field select {
    width: 100%;
    height: var(--input-height);
    padding: 0 15px;
    border-radius: var(--input-border-radius);
    border: 1px solid var(--green-soft);
    background-color: transparent;
    color: grey;
    font-size: 1em;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="8"><polygon points="0,0 14,0 7,8" fill="%23f8c400 "/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 0, 0.2);
    outline: none;
}

/* --- Submit Button --- */
.submit-button {
    width: 100%;
    height: var(--button-height);
    padding: 0 20px;
    margin-top: calc(var(--input-spacing) + 10px);
    border: none;
    border-radius: var(--button-border-radius);
    background: linear-gradient(90deg, var(--green-soft), var(--gold));
    color: var(--light);
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    box-shadow: 0 8px 20px rgba(248, 196, 0, 0.35);
}

.submit-button:hover {
    background: linear-gradient(90deg, var(--gold), var(--green-soft));
    box-shadow: 0 10px 25px rgba(248, 196, 0, 0.45);
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(248, 196, 0, 0.35);
}

/* --- Foreigners CTA Button --- */
.foreign-btn {
    display: block;
    margin-top: 14px;
    text-align: center;
    padding: 14px;
    border-radius: var(--button-border-radius);
    border: 1px solid var(--green-soft);
    color: var(--green-soft);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.25s ease;
    background: rgba(248, 196, 0, 0.08);
}

.foreign-btn:hover {
    background: var(--green-soft);
    color: var(--green-dark);
    box-shadow: 0 6px 18px rgba(248, 196, 0, 0.45);
}

/* --- Responsive --- */
@media (max-width: 400px) {
    .signup-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .logo-section h1 {
        font-size: 1.6em;
    }

    .form-field input {
        height: 45px;
        font-size: 0.95em;
    }

    .submit-button {
        height: 50px;
        font-size: 1em;
        margin-top: 20px;
    }
}