/* NOVA PACS DICOM Viewer Sayfa Stilleri - Splash ekranından esinlenerek */

/* Ana container */
.container-fluid.p-0 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Header */
.viewer-header-gradient {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 100;
}

/* Header */
.viewer-header-gradient {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.viewer-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.viewer-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.viewer-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

.viewer-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Seri Paneli */
.series-panel {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.7s ease-out;
}

.series-panel-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.series-item {
    background: rgba(255, 255, 255, 0.05);
    border: none !important;
    border-left: 3px solid transparent !important;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

.series-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    color: white;
}

.series-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    color: white;
    border-left-color: #667eea !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.series-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.series-item .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.series-item.active .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Viewport Selector */
.viewport-selector {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white;
    animation: fadeInUp 0.5s ease-out;
}

.viewport-selector h6 {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.viewport-select-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.viewport-select-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

.viewport-select-btn.btn-primary {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Alert mesajları */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.5s ease-out;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(200, 35, 51, 0.95) 100%);
    color: white;
    backdrop-filter: blur(10px);
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar stilleri */
.series-panel::-webkit-scrollbar {
    width: 8px;
}

.series-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.series-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* Viewer Container */
.flex-grow-1.position-relative {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}

/* Thumbnail şeridi - kare listesi, seçili vurgulu */
.thumbnail-strip {
    flex-shrink: 0;
}

.thumbnail-frame-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.thumbnail-frame-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.thumbnail-frame-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
}

/* Hasta / çalışma bilgi bandı (IQ-LITE benzeri) */
.viewer-info-banner {
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.9) 0%, rgba(13, 110, 253, 0.75) 100%);
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
