/* ============================================
   FORUM4 POLLS - AUTH PAGES
   ============================================ */

.forum4-auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.forum4-auth-container {
    background: #1e2936;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 480px;
    width: 100%;
    padding: 40px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.forum4-auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.forum4-auth-logo a {
    text-decoration: none;
    color: white;
}

.forum4-auth-logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0 0 0;
    color: white;
}

/* Tabs */
.forum4-auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #0f1419;
    padding: 5px;
    border-radius: 12px;
}

.forum4-auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: #a0aec0;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.forum4-auth-tab:hover {
    color: white;
}

.forum4-auth-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Form */
.forum4-auth-form h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.forum4-auth-subtitle {
    color: #a0aec0;
    margin: 0 0 25px 0;
    font-size: 14px;
}

.forum4-form-group {
    margin-bottom: 20px;
}

.forum4-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e0;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.forum4-label-icon {
    font-size: 18px;
}

.forum4-input {
    width: 100%;
    padding: 14px 16px;
    background: #0f1419;
    border: 2px solid #2d3748;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.forum4-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.forum4-input::placeholder {
    color: #4a5568;
}

/* Checkbox */
.forum4-form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.forum4-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forum4-form-checkbox label {
    color: #cbd5e0;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
}

/* Button */
.forum4-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.forum4-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.forum4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.forum4-btn-primary:active {
    transform: translateY(0);
}

/* Alerts */
.forum4-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.forum4-alert-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid #f56565;
    color: #fc8181;
}

.forum4-alert-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid #48bb78;
    color: #68d391;
}

/* Links */
.forum4-auth-links {
    text-align: center;
    margin-top: 20px;
}

.forum4-auth-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.forum4-auth-links a:hover {
    text-decoration: underline;
}

/* Footer */
.forum4-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #718096;
    line-height: 1.5;
}

.forum4-auth-footer a {
    color: #667eea;
    text-decoration: none;
}

.forum4-auth-footer a:hover {
    text-decoration: underline;
}

/* Back link */
.forum4-auth-back {
    text-align: center;
    margin-top: 25px;
}

.forum4-auth-back a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.forum4-auth-back a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 480px) {
    .forum4-auth-container {
        padding: 30px 20px;
    }
    
    .forum4-auth-form h2 {
        font-size: 22px;
    }
}
