/**
 * Santral Anons Sihirbazı - Frontend CSS
 */

/* Genel Stiller */
#sas-wizard-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	border-radius: 12px;
}
input.sas-voice-artist-checkbox {
    float: inline-end;
    margin: 28px;
}
/* Cam Efekti */
.glass-effect {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* İlerleme Çubuğu */
#sas-progress-bar {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

/* Form Elemanları */
.sas-step-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.sas-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input Stiller */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Checkbox ve Radio Stiller */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #6366f1;

}

/* Buton Stiller */
.sas-next-btn,
.sas-prev-btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.sas-next-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sas-prev-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sas-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ses Sanatçısı Kartları */
.sas-voice-artist-card input[type="checkbox"]:checked + div {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
}

.sas-voice-artist-card div {
    transition: all 0.3s ease;
}



/* Müzik Kartları */
.sas-music-card input[type="checkbox"]:checked + div {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
}

.sas-music-card div {
    transition: all 0.3s ease;
}



.sas-music-checkbox {
    transition: all 0.3s ease;
}

.sas-music-card input[type="checkbox"]:checked + div .sas-music-checkbox {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
}

.sas-music-card input[type="checkbox"]:checked + div .sas-music-checkbox::after {
    content: '✓';
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Departman Stiller */
.sas-department-item {
    transition: all 0.3s ease;
}

.sas-remove-dept {
    transition: color 0.3s ease;
}

.sas-remove-dept:hover {
    color: #ef4444 !important;
}

/* Dosya Yükleme */
#sas-custom-script + label {
    transition: all 0.3s ease;
}

#sas-custom-script + label:hover {
    background: #5b21b6;
    transform: translateY(-1px);
}

/* Modal Stiller */
#sas-success-modal {
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#sas-success-modal > div {
    animation: modalSlideIn 0.3s ease;
}

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

/* Scrollbar Stiller */
.max-h-80::-webkit-scrollbar {
    width: 6px;
}

.max-h-80::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.max-h-80::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.max-h-80::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    #sas-wizard-container {
        padding: 1rem;
    }
    
    .glass-effect {
        padding: 1rem;
    }
    
    .grid {
        gap: 0.75rem;
    }
    
    .sas-voice-artist-card div,
    .sas-music-card div {
        padding: 0.75rem;
    }
}

/* Loading Animasyonu */
.sas-loading {
    position: relative;
    pointer-events: none;
}

.sas-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Önizleme Stiller */
#sas-company-preview {
    animation: slideDown 0.3s ease;
}

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

/* Durum Göstergeleri */
.sas-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.sas-status-pending {
    background-color: #fbbf24;
    color: #92400e;
}

.sas-status-processing {
    background-color: #60a5fa;
    color: #1e40af;
}

.sas-status-completed {
    background-color: #34d399;
    color: #065f46;
}

.sas-status-cancelled {
    background-color: #f87171;
    color: #991b1b;
}

/* Tooltip Stiller */
.sas-tooltip {
    position: relative;
}

.sas-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.sas-tooltip:hover::before {
    opacity: 1;
}

/* Hata Mesajları */
.sas-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

/* Başarı Mesajları */
.sas-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
} 