/* Auth Pages Styles */

.auth-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background-color: var(--color-bg);
}

.auth-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

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

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

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

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.375rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-main);
    cursor: pointer;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--color-primary);
    border-radius: 4px;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--color-text-main);
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.forgot-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.auth-button:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.auth-divider span {
    position: relative;
    background-color: var(--color-bg);
    padding: 0 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.social-auth {
    margin-bottom: 1.5rem;
}

.social-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.social-button:hover {
    background-color: var(--color-bg-alt);
    border-color: rgba(0, 0, 0, 0.2);
}

.social-button svg {
    flex-shrink: 0;
}

.auth-footer {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

.auth-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.auth-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.inline-link {
    color: var(--color-text-main);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.inline-link:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-main {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-container {
        max-width: 100%;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-main {
        padding: 1.5rem 1rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-subtitle {
        font-size: 0.9375rem;
    }
}
