:root {
    --auth-navy: #0f1a2b;
    --auth-navy-light: #1a2744;
    --auth-gold: #c9a961;
    --auth-gold-light: #d4b978;
    --auth-gold-dark: #b8944f;
    --auth-white: #ffffff;
    --auth-text-primary: #1e293b;
    --auth-text-secondary: #64748b;
    --auth-text-muted: #94a3b8;
    --auth-border: #e2e8f0;
    --auth-input-bg: #f8fafc;
    --auth-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --auth-radius: 12px;
    --auth-radius-lg: 16px;
    --auth-transition: all 0.3s ease;
}

html {
    height: 100%;
}

body.account {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(160deg, var(--auth-navy) 0%, var(--auth-navy-light) 50%, #0d1526 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.form-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

    .form-signin * {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    }

    .form-signin a {
        color: var(--auth-gold) !important;
        text-decoration: none;
        transition: var(--auth-transition);
    }

        .form-signin a:hover {
            color: var(--auth-gold-dark) !important;
            text-decoration: underline;
        }

    .form-signin::before {
        display: none;
    }

    .form-signin form {
        align-items: center;
        backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--auth-radius-lg);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 40px 8px rgba(255, 255, 255, 0.05);
        display: flex;
        flex-direction: column;
        height: fit-content;
        padding: 48px 40px;
        justify-content: center;
        width: 460px;
        z-index: 1;
        position: relative;
        max-height: 900px;
        max-width: 90vw;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

.paragraph_open {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    line-height: 1.3;
    color: var(--auth-gold);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.paragraph_open_subtitle {
    margin: 0 0 28px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    width: 100%;
}

.form-floating {
    position: relative;
    margin-bottom: 20px;
    border-bottom: none;
    width: 100%;
}

    .form-floating.NoBorder {
        border-bottom: none !important;
        margin-bottom: 12px;
    }

.areaButton {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 8px;
}

.form-floating label {
    text-align: left;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 0.5);
    top: 0;
    text-wrap: nowrap;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 1;
    transform: none;
}

.form-floating > input,
.form-floating > .form-control {
    top: 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--auth-radius);
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.06);
    margin-bottom: 0;
    padding: 14px 16px;
    font-size: 14px;
    height: 50px;
    transition: var(--auth-transition);
}

    .form-floating > input.inputBigTop {
        top: 20px !important;
    }

    .form-floating > input:focus,
    .form-floating > .form-control:focus {
        box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
        outline: none;
        border-color: var(--auth-gold);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .form-floating > input::placeholder,
    .form-floating > .form-control::placeholder {
        color: rgba(255, 255, 255, 0.3);
        font-style: italic;
    }

    .form-floating > input:-webkit-autofill,
    .form-floating > .form-control:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.06) inset;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
        caret-color: rgba(255, 255, 255, 0.9);
        transition: background-color 5000s ease-in-out 0s;
    }

    .form-floating > input:-webkit-autofill:hover,
    .form-floating > input:-webkit-autofill:focus,
    .form-floating > .form-control:-webkit-autofill:hover,
    .form-floating > .form-control:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.1) inset;
        border-color: var(--auth-gold);
    }

.areaButton .btn-gaia {
    min-width: 120px;
    width: 100% !important;
    height: 48px !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--auth-gold) 0%, var(--auth-gold-dark) 100%) !important;
    text-decoration: none;
    border-radius: var(--auth-radius);
    padding: 0 24px;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
    outline: none;
    border: none;
    margin-bottom: 16px;
    transition: var(--auth-transition);
    cursor: pointer;
}

    .areaButton .btn-gaia:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
    }

    .areaButton .btn-gaia:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
    }

    .areaButton .btn-gaia > span {
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-style: normal;
        font-weight: 700;
        font-size: 13px;
        line-height: 1;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        color: var(--auth-white) !important;
    }

.areaButton #NotHaveAccount {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--auth-gold);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.form-signin .btn-default {
    float: right;
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
    position: absolute;
    right: 12px;
    top: 32px;
    z-index: 9999;
    cursor: pointer;
    outline: none;
    border: none;
    box-shadow: none;
    transition: var(--auth-transition);
    padding: 4px;
}

    .form-signin .btn-default:hover {
        color: rgba(255, 255, 255, 0.7);
    }

.btn-gaia {
    background-color: var(--auth-gold) !important;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: var(--auth-radius);
    width: fit-content;
    height: 48px;
    display: flex;
    background-blend-mode: color;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
}

    .btn-gaia:focus {
        box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
        border: none;
    }

    .btn-gaia:hover {
        background-color: var(--auth-gold-dark) !important;
    }

.btn-check:active + .btn-primary:focus,
.btn-check:checked + .btn-primary:focus,
.btn-primary.active:focus,
.btn-primary:active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none !important;
}

.box_button > button {
    margin-left: 1rem;
    margin-right: 1rem;
}

.spacer {
    height: 55px;
}

.form-check-inline {
    margin-inline: 12px;
}

input[name="Genere"] {
    accent-color: var(--auth-gold);
}

.form-check-input:checked {
    background-color: var(--auth-gold);
    border-color: var(--auth-gold);
}

.logo {
    width: 150%;
    border-radius: 10px;
    object-fit: cover;
    margin-left: 80px;
    display: block;
}

img.logo.mb-4 {
    margin-bottom: 0 !important;
}

.logo_item {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 100px;
    z-index: 100;
}

.text-underline {
    font-size: 13px;
    font-weight: 500;
    color: var(--auth-gold) !important;
    text-decoration: none;
    transition: var(--auth-transition);
}

    .text-underline:hover {
        color: var(--auth-gold-dark) !important;
        text-decoration: underline;
    }

.text-danger {
    font-size: 13px;
    font-weight: 500;
}

.text-success {
    font-size: 13px;
    font-weight: 500;
}

.text-muted {
    color: rgba(255, 255, 255, 0.4) !important;
}

@media (max-width: 768px) {
    .form-signin::before {
        display: none;
    }

    .form-signin form {
        width: 95%;
        padding: 32px 24px;
    }

    .logo {
        width: 130px;
    }

    .logo_item {
        top: 16px;
        left: 16px;
    }

    .paragraph_open {
        font-size: 22px;
    }

    .paragraph_open_subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body.account {
        padding: 16px;
        overflow-y: auto;
    }

    .form-signin form {
        padding: 28px 20px;
    }
}
