﻿.aa-login-page {
    min-height: calc(100vh - 80px);
    padding: 24px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(255,216,107,0.30), transparent 34%), radial-gradient(circle at bottom right, rgba(59,35,95,0.12), transparent 35%), linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
}

.aa-login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 26px 18px;
    border: 1px solid rgba(184, 134, 11, 0.18);
    box-shadow: 0 18px 45px rgba(59, 35, 95, 0.16);
    position: relative;
    overflow: hidden;
}

    .aa-login-card::before {
        content: "";
        position: absolute;
        top: -80px;
        right: -80px;
        width: 170px;
        height: 170px;
        background: radial-gradient(circle, rgba(255, 216, 107, 0.42), transparent 68%);
        pointer-events: none;
    }

    .aa-login-card::after {
        content: "";
        position: absolute;
        bottom: -90px;
        left: -90px;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(59, 35, 95, 0.13), transparent 70%);
        pointer-events: none;
    }

.aa-login-header {
    text-align: center;
    margin-bottom: 26px;
    position: relative;
    z-index: 1;
}

.aa-login-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, #3b235f, #5f3c91);
    color: #ffd86b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 12px 26px rgba(59, 35, 95, 0.28);
}

.aa-login-header h3 {
    margin: 0;
    font-size: 27px;
    font-weight: 900;
    color: #3b235f;
    letter-spacing: -0.4px;
}

.aa-login-header p {
    margin: 8px auto 0;
    font-size: 14px;
    color: #756b7e;
    line-height: 1.5;
    max-width: 300px;
}

.aa-form-group {
    margin-bottom: 17px;
    position: relative;
    z-index: 1;
}

    .aa-form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 800;
        color: #3b235f;
    }

.aa-input-wrap {
    min-height: 54px;
    border-radius: 17px;
    border: 1px solid rgba(59, 35, 95, 0.16);
    background: #fffaf2;
    display: flex;
    align-items: center;
    padding: 0 14px;
    transition: 0.25s ease;
}

    .aa-input-wrap:focus-within {
        background: #ffffff;
        border-color: #b8860b;
        box-shadow: 0 0 0 4px rgba(255, 216, 107, 0.22);
    }

    .aa-input-wrap > i {
        color: #b8860b;
        font-size: 18px;
        margin-right: 10px;
    }

    .aa-input-wrap input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #2f2438;
        font-size: 15px;
        font-weight: 600;
    }

        .aa-input-wrap input::placeholder {
            color: #a99faf;
            font-weight: 500;
        }

.aa-eye-btn {
    border: 0;
    background: transparent;
    color: #3b235f;
    font-size: 18px;
    padding: 4px;
    line-height: 1;
}

.aa-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin: -5px 0 18px;
    position: relative;
    z-index: 1;
}

    .aa-forgot-row a {
        font-size: 13px;
        font-weight: 800;
        color: #b8860b;
        text-decoration: none;
    }

        .aa-forgot-row a:hover {
            color: #3b235f;
            text-decoration: underline;
        }

.aa-login-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #3b235f, #5a368f);
    color: #ffd86b;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 13px 25px rgba(59, 35, 95, 0.24);
    transition: 0.25s ease;
    position: relative;
    z-index: 1;
}

    .aa-login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 17px 32px rgba(59, 35, 95, 0.30);
    }

    .aa-login-btn:active {
        transform: scale(0.98);
    }

.aa-register-text {
    text-align: center;
    margin: 20px 0 0;
    font-size: 14px;
    color: #756b7e;
    position: relative;
    z-index: 1;
}

    .aa-register-text a {
        color: #b8860b;
        font-weight: 900;
        text-decoration: none;
    }

        .aa-register-text a:hover {
            color: #3b235f;
            text-decoration: underline;
        }

.aa-alert {
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.aa-alert-success {
    background: #ecfff3;
    color: #157347;
    border: 1px solid rgba(21, 115, 71, 0.20);
}

.aa-alert-danger {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid rgba(180, 35, 24, 0.20);
}

@media (min-width: 768px) {
    .aa-login-card {
        padding: 34px 30px;
    }

    .aa-login-header h3 {
        font-size: 31px;
    }
}
