/**
 * Operatör İpucu Sistemi - CSS Stilleri
 */

/* Operatör İpucu Modalı */
#operatorIpucuModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#operatorIpucuModal .modal-header {
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
}

#operatorIpucuModal .modal-body {
    padding: 1.5rem;
}

#operatorIpucuModal .modal-footer {
    border-radius: 0 0 16px 16px;
    padding: 1rem 1.5rem;
}

/* Operatör İpucu Container */
.operator-ipucu-container {
    max-width: 100%;
}

/* Operatör Listesi */
.operator-listesi {
    max-height: 300px;
    overflow-y: auto;
}

/* Operatör Item */
.operator-item {
    background-color: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    transition: all 0.2s ease;
}

.operator-item:hover {
    background-color: rgba(var(--bs-primary-rgb, 99, 102, 241), 0.08);
    border-color: var(--bs-primary, #6366f1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.operator-item:active {
    transform: translateY(0);
}

/* Tıklanabilir Operatör */
.clickable-operator {
    cursor: pointer;
    user-select: none;
}

/* Bayrak İkonu */
.operator-item .fis {
    border-radius: 4px;
    overflow: hidden;
}

/* Scrollbar Özelleştirme */
.operator-listesi::-webkit-scrollbar {
    width: 6px;
}

.operator-listesi::-webkit-scrollbar-track {
    background: var(--bg-body, #f8f9fa);
    border-radius: 3px;
}

.operator-listesi::-webkit-scrollbar-thumb {
    background: var(--border-color, rgba(0, 0, 0, 0.2));
    border-radius: 3px;
}

.operator-listesi::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary, #6366f1);
}

/* Responsive */
@media (max-width: 576px) {
    #operatorIpucuModal .modal-dialog {
        margin: 1rem;
    }

    .operator-item {
        padding: 0.75rem 1rem !important;
    }

    .operator-item .fis {
        font-size: 20px !important;
    }
}

/* Dark Mode Desteği */
@media (prefers-color-scheme: dark) {
    .operator-item {
        background-color: var(--bg-card, #2d2d2d);
        border-color: var(--border-color, rgba(255, 255, 255, 0.1));
    }

    .operator-item:hover {
        background-color: rgba(var(--bs-primary-rgb, 99, 102, 241), 0.15);
    }
}

/* Animasyon */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.operator-item {
    animation: slideInUp 0.3s ease-out;
}

.operator-item:nth-child(1) {
    animation-delay: 0.05s;
}

.operator-item:nth-child(2) {
    animation-delay: 0.1s;
}

.operator-item:nth-child(3) {
    animation-delay: 0.15s;
}

.operator-item:nth-child(4) {
    animation-delay: 0.2s;
}

.operator-item:nth-child(5) {
    animation-delay: 0.25s;
}