.auth-page-wrapper {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 16px;
    position: relative;
    background-color: #07070a;
    background-image: 
        radial-gradient(ellipse at top center, rgba(124, 77, 255, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, rgba(7, 7, 10, 0.88) 0%, #07070a 100%),
        url('img/at23.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-card {
    width: 100%;
    max-width: 410px;
    background: #0f0f14;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 36px 30px;
    margin: 30px 0 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(124, 77, 255, 0.12);
    color: #7c4dff;
    font-size: 22px;
    margin-bottom: 12px;
}

.auth-brand h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
}

.auth-brand p {
    font-size: 0.86rem;
    color: #888894;
    margin: 0;
}

.auth-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #14141c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 24px;
    font-size: 0.86rem;
    color: #a0a0b0;
}

.auth-nav-link a {
    color: #7c4dff;
    text-decoration: none;
    font-weight: 600;
}

.auth-nav-link a:hover {
    text-decoration: underline;
}

.form-group-custom {
    margin-bottom: 18px;
}

.form-group-custom label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888894;
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i.input-icon {
    position: absolute;
    left: 14px;
    color: #555562;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-icon-wrapper input {
    width: 100%;
    height: 46px;
    padding: 8px 40px 8px 42px;
    background: #14141b;
    border: 1px solid #22222e;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-icon-wrapper input:focus {
    outline: none;
    border-color: #7c4dff;
    background: #161620;
    box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.2);
}

.input-icon-wrapper input:focus ~ i.input-icon {
    color: #7c4dff;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #555562;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #ffffff;
}

.btn-auth-submit {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #7c4dff;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.btn-auth-submit:hover {
    background: #651fff;
}

.btn-auth-submit:active {
    transform: scale(0.99);
}

.auth-sublinks {
    text-align: center;
    margin-top: 18px;
    font-size: 0.84rem;
    color: #777785;
}

.auth-sublinks a {
    color: #a0a0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-sublinks a:hover {
    color: #ffffff;
}

.custom-alert {
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.custom-alert.alert-danger {
    background: rgba(239, 35, 60, 0.1);
    border-color: rgba(239, 35, 60, 0.25);
    color: #ff5263;
}

.custom-alert.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.25);
    color: #2ecc71;
}

.form-check-custom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    font-size: 0.82rem;
    color: #888894;
    line-height: 1.4;
}

.form-check-custom input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #7c4dff;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 26px 20px;
        border-radius: 12px;
        margin: 20px 0 30px;
    }
}
