/* ================================
   KAMP AUTH PAGES - MODERN STYLES
   ================================ */

/* Genel Auth Container */
.kamp-auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.kamp-auth-wrapper {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.kamp-login-wrapper {
    grid-template-columns: 2fr 1fr;
}

/* Form Container */
.kamp-auth-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Header */
.kamp-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.kamp-auth-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.kamp-auth-header p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

/* Messages */
.kamp-success-message,
.kamp-error-message {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.kamp-success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.kamp-error-message {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.kamp-success-message i,
.kamp-error-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.kamp-success-message h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

/* Form Styles */
.kamp-auth-form {
    width: 100%;
}

.kamp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.kamp-form-group {
    margin-bottom: 20px;
}

.kamp-form-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.kamp-form-group label i {
    margin-right: 8px;
    color: #667eea;
    width: 16px;
}

.kamp-form-group input,
.kamp-form-group select,
.kamp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.kamp-form-group input:focus,
.kamp-form-group select:focus,
.kamp-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kamp-form-help {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
    display: block;
}

/* Password Input */
.kamp-password-input {
    position: relative;
}

.kamp-password-input input {
    padding-right: 50px;
}

.kamp-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.kamp-password-toggle:hover {
    color: #667eea;
    background: #f3f4f6;
}

/* Checkbox Styles */
.kamp-checkbox-group {
    margin-bottom: 25px;
}

.kamp-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kamp-checkbox input[type="checkbox"] {
    display: none;
}

.kamp-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.kamp-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.kamp-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Form Options */
.kamp-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.kamp-forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.kamp-forgot-password:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Buttons */
.kamp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.kamp-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.kamp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.kamp-btn-secondary {
    background: #6b7280;
    color: white;
}

.kamp-btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.kamp-btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.kamp-btn-outline:hover {
    background: #667eea;
    color: white;
}

.kamp-btn-full {
    width: 100%;
}

.kamp-btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Social Login */
.kamp-social-login {
    margin-top: 30px;
}

.kamp-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.kamp-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.kamp-divider span {
    background: white;
    padding: 0 15px;
    color: #6b7280;
    font-size: 0.9rem;
}

.kamp-social-buttons {
    display: flex;
    gap: 10px;
}

.kamp-btn-google {
    background: #4285f4;
    color: white;
    flex: 1;
}

.kamp-btn-facebook {
    background: #1877f2;
    color: white;
    flex: 1;
}

/* Auth Footer */
.kamp-auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.kamp-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.kamp-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Features Section */
.kamp-auth-features {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kamp-auth-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.kamp-welcome-back h3 {
    color: #1f2937;
    margin-bottom: 15px;
}

.kamp-welcome-back p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* Feature List */
.kamp-feature-list {
    margin-bottom: 30px;
}

.kamp-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.kamp-feature-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.kamp-feature-icon {
    font-size: 2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.kamp-feature-content h4 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #1f2937;
}

.kamp-feature-content p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Rank Info */
.kamp-rank-info {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 15px;
    padding: 20px;
    color: white;
}

.kamp-rank-info h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.kamp-ranks {
    display: grid;
    gap: 10px;
}

.kamp-rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.rank-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rank-tatilci { background: #94a3b8; color: white; }
.rank-kampci { background: #22c55e; color: white; }
.rank-gezgin { background: #3b82f6; color: white; }
.rank-kasif { background: #f59e0b; color: white; }

.rank-points {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Stats Preview */
.kamp-stats-preview {
    margin-top: 20px;
}

.kamp-stats-preview h4 {
    margin-bottom: 15px;
    color: #1f2937;
}

.kamp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.kamp-stat-item {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
}

.kamp-stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.kamp-stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Hidden utility */
.kamp-hidden {
    display: none !important;
}

/* Forgot Form Actions */
.kamp-form-actions {
    display: flex;
    gap: 10px;
}

.kamp-form-actions .kamp-btn {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kamp-auth-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kamp-login-wrapper {
        grid-template-columns: 1fr;
    }
    
    .kamp-auth-form-container {
        padding: 30px 20px;
    }
    
    .kamp-form-row {
        grid-template-columns: 1fr;
    }
    
    .kamp-social-buttons {
        flex-direction: column;
    }
    
    .kamp-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .kamp-form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .kamp-form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .kamp-auth-container {
        padding: 10px;
    }
    
    .kamp-auth-header h1 {
        font-size: 2rem;
    }
    
    .kamp-auth-features {
        padding: 20px;
    }
    
    .kamp-feature-item {
        padding: 12px;
    }
}
