* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f7fb;
    font-family: 'Poppins', Arial, sans-serif;
}

.auth-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #111184 0%, #1746c8 42%, #f4f7fb 42%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-hero {
    width: 100%;
    min-height: 315px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(17,17,132,.35), rgba(17,17,132,.85)),
        url('/app/public/assets/img/auth-aircraft.jpg') center/cover no-repeat;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
}

.auth-brand {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    text-align: center;
    color: #fff;
}

.auth-brand img {
    width: 270px;
    max-width: 72%;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.22));
}

.auth-brand p {
    margin: 0px 0 0;
    font-size: 16px;
    font-weight: 500;
    opacity: .92;
    letter-spacing: .3px;
}

.auth-card {
    width: calc(100% - 32px);
    max-width: 420px;
    margin-top: -92px;
    background: #fff;
    border-radius: 32px;
    padding: 30px 22px 24px;
    box-shadow: 0 24px 60px rgba(10, 32, 90, .18);
    position: relative;
    z-index: 5;
}

.auth-title {
    text-align: center;
    margin-bottom: 24px;
}

.auth-title h1 {
    margin: 0;
    color: #111184;
    font-size: 28px;
    font-weight: 800;
}

.auth-title p {
    margin: 8px 0 0;
    color: #7b8496;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-field {
    height: 56px;
    background: #f7f9fd;
    border: 1px solid #e5eaf3;
    border-radius: 17px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

.auth-field i {
    color: #111184;
    font-size: 17px;
    width: 18px;
    text-align: center;
}

.auth-field input {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 15px;
    color: #1d273b;
}

.auth-field input::placeholder {
    color: #9aa4b6;
}

.auth-submit {
    height: 58px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #111184, #1746c8);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 16px 30px rgba(17,17,132,.28);
}

.auth-submit i {
    margin-right: 8px;
}

.auth-register-link {
    margin-top: 22px;
    text-align: center;
    color: #7b8496;
    font-size: 14px;
}

.auth-register-link a {
    color: #111184;
    font-weight: 800;
    text-decoration: none;
    margin-left: 4px;
}

.auth-support {
    width: fit-content;
    margin: 22px auto 0;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #eafaf0;
    color: #159947;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.alert-error {
    background: #fff1f2;
    color: #b42318;
    border: 1px solid #ffcdd2;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    text-align: center;
}

@media (min-width: 768px) {
    .auth-page {
        justify-content: center;
        padding: 40px 0;
        background:
            linear-gradient(135deg, rgba(17,17,132,.94), rgba(23,70,200,.88)),
            url('/app/public/assets/img/auth-aircraft.jpg') center/cover no-repeat;
    }

    .auth-hero {
        max-width: 420px;
        min-height: auto;
        background: transparent;
        border-radius: 0;
    }

    .auth-card {
        margin-top: 5px;
    }
}