/**
 * Basit Kayıt Modülü - CSS
 * Kayıt formunu ve firma bilgileri sayfasını stilize eder
 */

/* SADECE KAYIT SAYFASINDA UYGULA */
body[class*="register"] .register-wrapper,
body[class*="authentication"] .authentication {
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 20px;
}

body[class*="register"] .register-wrapper .panel,
body[class*="authentication"] .authentication .panel {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Bilgilendirme mesajı */
.basit-kayit-info {
    margin: 20px 0 !important;
    padding: 15px !important;
    background: #e8f4fd !important;
    border: 1px solid #bee5eb !important;
    border-left: 4px solid #17a2b8 !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #0c5460 !important;
}

.basit-kayit-info i {
    color: #17a2b8;
    margin-right: 8px;
}

.basit-kayit-info strong {
    color: #0c5460;
}

/* Basit kayıt - gizli alanlar için transition */
.form-group {
    transition: all 0.3s ease;
}

.form-group.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Firma bilgileri tamamlama hatırlatıcısı */
.basit-kayit-reminder {
    position: relative;
    animation: slideDown 0.5s ease;
    border-left: 4px solid #ff9800;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.basit-kayit-reminder .btn {
    margin-left: 10px;
}

/* Firma bilgileri sayfası */
.firma-bilgileri-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.firma-bilgileri-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.firma-bilgileri-form label i {
    color: #3498db;
    margin-right: 5px;
}

/* Tamamlanma durumu rozetleri */
.completion-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.completion-badge.completed {
    background: #27ae60;
    color: white;
}

.completion-badge.incomplete {
    background: #e74c3c;
    color: white;
}

/* Admin ayarlar sayfası */
.basit-kayit-settings .field-toggle {
    padding: 12px;
    background: #f9f9f9;
    margin: 8px 0;
    border-radius: 6px;
    border-left: 3px solid #3498db;
    transition: all 0.2s ease;
}

.basit-kayit-settings .field-toggle:hover {
    background: #ecf0f1;
    border-left-color: #2980b9;
}

.basit-kayit-settings .field-toggle label {
    margin-bottom: 0;
    cursor: pointer;
}

.basit-kayit-settings .field-toggle input[type="checkbox"] {
    margin-right: 10px;
}

/* İstatistikler sayfası */
.statistics-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.statistics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.statistics-card h3 {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
}

.statistics-card p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .register-wrapper {
        padding: 10px;
    }
    
    .firma-bilgileri-form {
        padding: 15px;
    }
    
    .statistics-card h3 {
        font-size: 36px;
    }
}

/* Loading state */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
