/* ============================================
   AUTH PAGES
   ============================================ */

.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
}

.auth-logo {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.auth-tab {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

.auth-tab.active {
    background: white;
    color: #667eea;
}

.auth-form {
    padding: 30px;
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-input-group {
    margin-bottom: 20px;
}

.auth-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.auth-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

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

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-link {
    color: #667eea;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.auth-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.password-hints {
    margin-top: 8px;
    padding-left: 10px;
}

.password-hints small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 4px;
}

.auth-checkbox-group {
    margin-bottom: 20px;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-checkbox span {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.auth-captcha {
    margin-bottom: 20px;
}

.auth-captcha label {
    display: block;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 30px;
    font-size: 14px;
    display: none;
}

.auth-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.auth-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.auth-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 10px;
}

.auth-footer-link {
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.auth-footer-link:hover {
    opacity: 0.8;
}

.auth-lang {
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 600px) {
    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-header {
        padding: 20px;
    }

    .auth-form {
        padding: 20px;
    }

    .auth-logo {
        font-size: 24px;
    }
}