/* Auth Pages Styles */

.auth-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(to top, #f6f6f8, var(--white));
}

@media (min-width: 768px) {
    .auth-container {
        padding: 5rem;
    }
}

.auth-card {
    width: 100%;
    max-width: 1280px;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    min-height: 790px;
}

@media (min-width: 768px) {
    .auth-card {
        flex-direction: row-reverse;
    }
}

/* Form Section */
.auth-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 86px;
    padding: 2.5rem;
    background: linear-gradient(to bottom right, var(--white), #ebeffd, #ebeffd);
}

@media (min-width: 768px) {
    .auth-form-section {
        padding: 5rem;
    }
}

.auth-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 480px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-name {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 2rem;
    line-height: 23px;
}

/* Welcome Text */
.welcome-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.welcome-title {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 3rem;
    line-height: 1.2;
    text-align: center;
}

.welcome-subtitle {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 1.125rem;
    line-height: 23px;
}

/* Forgot Password Header */
.forgot-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.forgot-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}

.form-label {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.875rem;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 48px;
    padding: 0 0.75rem;
    transition: all var(--transition-fast);
}

.input-wrapper:focus-within {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--primary);
}

.input-wrapper.input-with-icon {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.input-wrapper.error {
    border-color: var(--error);
}

.input-wrapper.error:focus-within {
    box-shadow: 0 0 0 2px var(--error);
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    color: var(--gray-500);
    font-size: 0.875rem;
    width: 100%;
}

.form-input::placeholder {
    color: var(--gray-500);
}

.toggle-password {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
}

.toggle-password:hover {
    color: var(--gray-600);
}

.error-text {
    color: var(--error);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Password Requirements */
.password-requirements {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.25rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.requirement-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.requirement.valid .requirement-check {
    background-color: var(--success);
    border-color: var(--success);
}

.requirement.valid .requirement-check::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: 50%;
}

.requirement.valid span {
    color: var(--gray-700);
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.form-links {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.form-links.centered {
    justify-content: center;
}

.form-link-text {
    font-weight: 400;
    color: var(--gray-800);
    font-size: 1rem;
    display: flex;
    gap: 0.25rem;
}

/* Illustration Section */
.illustration-section {
    display: none;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .illustration-section {
        display: flex;
    }
}

.illustration-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
}

.illustration-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
