/* Authentication Pages Styles */

.auth-page {
    min-height: 100vh;
    background: var(--background);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-card {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.auth-card h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: white;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface-light);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
}

.forgot-link {
    font-size: 14px;
    color: var(--primary);
}

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

.alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.alert-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

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

.auth-divider span {
    background: var(--background);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--surface);
    border: 2px solid var(--border);
    color: white;
    font-weight: 500;
}

.btn-social:hover {
    background: var(--surface-light);
    border-color: var(--primary);
}

.btn-google span {
    font-weight: 700;
    color: #EA4335;
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

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

/* Visual Side */
.auth-visual {
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-content {
    text-align: center;
    padding: 60px;
    position: relative;
    z-index: 1;
}

.visual-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.visual-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 400px;
    margin: 0 auto;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-elements span {
    position: absolute;
    font-size: 48px;
    animation: float 4s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.float-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.float-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 0.5s;
}

.benefits-list {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.benefits-list li {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-card {
        padding: 40px 24px;
    }

    .auth-card h1 {
        font-size: 28px;
    }
}