/* ============================================
   Eşleşmeyen Görüntüler - Modern Professional CSS
   ============================================ */

/* Page Container */
.eslesmeyen-goruntuler-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
    min-height: 100vh;
    padding: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Page Header */
.eslesmeyen-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.eslesmeyen-header-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.eslesmeyen-header-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.eslesmeyen-header-content p {
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
    font-size: 0.95rem;
}

/* Alert Cards */
.modern-alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #059669;
    color: #065f46;
}

.modern-alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.modern-alert i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.modern-alert-content {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
}

.modern-alert .btn-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-alert .btn-close:hover {
    opacity: 1;
}

/* Card Styling */
.eslesmeyen-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.eslesmeyen-card-header {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-bottom: 2px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eslesmeyen-card-header-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.eslesmeyen-card-header-title i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.eslesmeyen-card-header .btn-close {
    background: rgba(100, 116, 139, 0.1);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eslesmeyen-card-header .btn-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.eslesmeyen-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Info Panel */
.dicom-info-panel {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.dicom-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.dicom-info-row:last-child {
    margin-bottom: 0;
}

.dicom-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dicom-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dicom-info-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #451a03;
}

/* Search Section */
.search-section {
    margin-bottom: 1.5rem;
}

.search-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    display: block;
}

/* Search Result List */
.search-result-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.search-result-table thead {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.search-result-table th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.search-result-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-table tbody tr:hover {
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
}

.search-result-table td {
    padding: 0.75rem;
    vertical-align: middle;
}

.search-result-table small {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Loading States */
.loading-state {
    text-align: center;
    padding: 3rem 2rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: #64748b;
    font-weight: 500;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
    border: 2px dashed #fbbf24;
}

.empty-state i {
    font-size: 3rem;
    color: #d97706;
    margin-bottom: 1rem;
    display: block;
}

.empty-state-text {
    font-size: 0.9375rem;
    color: #92400e;
    font-weight: 500;
}

.empty-state-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    border: 2px dashed #0ea5e9;
}

.empty-state-info i {
    color: #0284c7;
}

.empty-state-info .empty-state-text {
    color: #0c4a6e;
}

.empty-state-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px dashed #fbbf24;
}

.empty-state-warning i {
    color: #d97706;
}

.empty-state-warning .empty-state-text {
    color: #92400e;
}

/* Buttons */
.modern-btn-eslesmeyen {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.modern-btn-eslesmeyen:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-btn-eslesmeyen:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.modern-btn-eslesmeyen:focus {
    outline: none;
}

.modern-btn-search {
    background: linear-gradient(135deg, #0394fc 0%, #0284c7 100%);
    color: #ffffff;
}

.modern-btn-search:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
}

.modern-btn-search:active,
.modern-btn-search:focus {
    background: linear-gradient(135deg, #0394fc 0%, #0284c7 100%) !important;
    color: #ffffff !important;
}

.modern-btn-link {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.modern-btn-link:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
}

.modern-btn-link:active,
.modern-btn-link:focus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}

.modern-btn-link:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.modern-btn-refresh {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.modern-btn-refresh:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff !important;
}

.modern-btn-refresh:active,
.modern-btn-refresh:focus {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}

/* Grid Styling */
.modern-grid-eslesmeyen {
    border: none !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.modern-grid-eslesmeyen .e-gridheader {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9) !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.modern-grid-eslesmeyen .e-headercell {
    background: transparent !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    padding: 0.875rem 0.75rem !important;
    border-right: 1px solid #e2e8f0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-grid-eslesmeyen .e-headercell:hover {
    background: rgba(226, 232, 240, 0.5) !important;
}

.modern-grid-eslesmeyen .e-gridcontent {
    background: #ffffff !important;
}

.modern-grid-eslesmeyen .e-row {
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.modern-grid-eslesmeyen .e-row:hover {
    background: linear-gradient(90deg, #fef3c7 0%, #ffffff 100%) !important;
}

.modern-grid-eslesmeyen .e-rowcell {
    color: #1e293b !important;
    font-size: 0.875rem !important;
    padding: 0.75rem !important;
    border-right: 1px solid #f1f5f9 !important;
}

.modern-grid-eslesmeyen .e-row.e-selectionbackground {
    background: linear-gradient(90deg, #fef3c7 0%, #fef9e7 100%) !important;
    box-shadow: inset 4px 0 0 #f59e0b !important;
}

.modern-grid-eslesmeyen .e-row.e-selectionbackground .e-rowcell {
    background: transparent !important;
    color: #92400e !important;
    font-weight: 600 !important;
}

/* Badge Styling */
.badge-count {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.25);
}

/* Syncfusion Input Overrides */
.e-input-group.e-outline {
    border-radius: 10px !important;
    border: 2px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.e-input-group.e-outline:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1) !important;
}

.e-input-group.e-outline.e-input-focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08) !important;
}

.e-input-group input {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    padding: 0.625rem 1rem !important;
}

.e-input-group input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* DatePicker Styling */
.e-datepicker.e-outline .e-input-group {
    border-radius: 10px !important;
    border: 2px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.e-datepicker.e-outline .e-input-group:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1) !important;
}

.e-datepicker.e-outline .e-input-group.e-input-focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08) !important;
}

.e-datepicker .e-input-group-icon {
    color: #f59e0b !important;
    font-size: 1.125rem !important;
}

/* TextBox Styling */
.e-textbox.e-outline .e-input-group {
    border-radius: 10px !important;
    border: 2px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.e-textbox.e-outline .e-input-group:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1) !important;
}

.e-textbox.e-outline .e-input-group.e-input-focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08) !important;
}

/* Calendar Styling */
.e-calendar .e-content td.e-selected span.e-day {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}

.e-calendar .e-content td.e-today span.e-day {
    border: 2px solid #f59e0b !important;
    color: #f59e0b !important;
    font-weight: 600 !important;
}

.e-calendar .e-content td:hover span.e-day {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
}

.e-calendar .e-header .e-title {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.e-calendar .e-header .e-icon-container {
    color: #f59e0b !important;
}

.e-calendar .e-header .e-icon-container:hover {
    background: rgba(245, 158, 11, 0.1) !important;
    border-radius: 6px !important;
}

/* Syncfusion Button Overrides */
.e-btn.e-small {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
}

/* Prevent Syncfusion buttons from turning gray on click */
.e-btn.e-small:active,
.e-btn.e-small:focus,
.e-btn.e-small.e-active {
    opacity: 1 !important;
}

.e-btn.e-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
}

.e-btn.e-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
}

.e-btn.e-primary:active,
.e-btn.e-primary:focus,
.e-btn.e-primary.e-active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .eslesmeyen-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .eslesmeyen-header-icon {
        width: 56px;
        height: 56px;
    }

    .eslesmeyen-header-content h3 {
        font-size: 1.5rem;
    }

    .dicom-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eslesmeyen-goruntuler-page {
        padding: 1rem;
    }

    .dicom-info-row {
        grid-template-columns: 1fr;
    }

    .search-result-table {
        font-size: 0.75rem;
    }

    .search-result-table th,
    .search-result-table td {
        padding: 0.5rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Scroll container for search results */
.search-result-scroll {
    max-height: calc(100vh - 560px);
    overflow-y: auto;
    margin-top: 1rem;
    border-radius: 8px;
}
