.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg,
    rgba(31, 95, 224, 0.03) 0%,
    rgba(59, 130, 246, 0.03) 100%
    );
}

.auth-card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-color);
    position: relative;
}



.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    border-radius: 16px 16px 0 0;
}

.auth-card__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(31, 95, 224, 0.2);
}

.auth-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.auth-card__subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.auth-card__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-card__footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-card__footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

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

.auth-card__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-card__options a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

@media (max-width: 640px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-card__title {
        font-size: 1.75rem;
    }
}
.auth-card__form .form-group,
.auth-card__form .mb-3,
.auth-card__form .form-row,
.auth-card__form > div {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-card__form label {
    order: 0;
    margin-bottom: 0.35rem;
}

.auth-card__form input,
.auth-card__form select,
.auth-card__form textarea {
    order: 1;
}

.auth-card__form .invalid-feedback,
.auth-card__form .form-error-message,
.auth-card__form .form-text,
.auth-card__form small,
.auth-card__form ul {
    order: 2;
    margin-top: 0.35rem;
}
