/**
 * Dashboard & Pages - Custom Styles
 * Bootstrap ile yapılamayan özel stiller + Metronic override'lar
 */

/* ===== Bootstrap 5 Utility Classes (Content area için) ===== */
.new-theme-content .d-flex { display: flex !important; }
.new-theme-content .d-inline-flex { display: inline-flex !important; }
.new-theme-content .d-none { display: none !important; }
.new-theme-content .d-block { display: block !important; }
.new-theme-content .flex-column { flex-direction: column !important; }
.new-theme-content .flex-row { flex-direction: row !important; }
.new-theme-content .flex-wrap { flex-wrap: wrap !important; }
.new-theme-content .flex-grow-1 { flex-grow: 1 !important; }
.new-theme-content .flex-shrink-0 { flex-shrink: 0 !important; }
.new-theme-content .align-items-center { align-items: center !important; }
.new-theme-content .align-items-start { align-items: flex-start !important; }
.new-theme-content .align-items-end { align-items: flex-end !important; }
.new-theme-content .justify-content-center { justify-content: center !important; }
.new-theme-content .justify-content-between { justify-content: space-between !important; }
.new-theme-content .justify-content-end { justify-content: flex-end !important; }

/* Responsive display */
@media (max-width: 767.98px) {
    .new-theme-content .flex-md-row { flex-direction: column !important; }
    .new-theme-content .d-md-flex { display: none !important; }
}
@media (min-width: 768px) {
    .new-theme-content .flex-md-row { flex-direction: row !important; }
    .new-theme-content .d-md-flex { display: flex !important; }
}

/* Spacing */
.new-theme-content .p-3 { padding: 1rem !important; }
.new-theme-content .p-4 { padding: 1.5rem !important; }
.new-theme-content .px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.new-theme-content .px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.new-theme-content .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.new-theme-content .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.new-theme-content .pb-3 { padding-bottom: 1rem !important; }
.new-theme-content .mb-0 { margin-bottom: 0 !important; }
.new-theme-content .mb-1 { margin-bottom: 0.25rem !important; }
.new-theme-content .mb-2 { margin-bottom: 0.5rem !important; }
.new-theme-content .mb-3 { margin-bottom: 1rem !important; }
.new-theme-content .mb-4 { margin-bottom: 1.5rem !important; }
.new-theme-content .mt-1 { margin-top: 0.25rem !important; }
.new-theme-content .ms-2 { margin-left: 0.5rem !important; }
.new-theme-content .me-2 { margin-right: 0.5rem !important; }
.new-theme-content .gap-2 { gap: 0.5rem !important; }
.new-theme-content .gap-3 { gap: 1rem !important; }
.new-theme-content .gap-4 { gap: 1.5rem !important; }

@media (min-width: 768px) {
    .new-theme-content .px-md-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}

/* Typography */
.new-theme-content .fs-4 { font-size: 1.5rem !important; }
.new-theme-content .fs-5 { font-size: 1.25rem !important; }
.new-theme-content .fw-medium { font-weight: 500 !important; }
.new-theme-content .fw-semibold { font-weight: 600 !important; }
.new-theme-content .fw-bold { font-weight: 700 !important; }
.new-theme-content .text-center { text-align: center !important; }
.new-theme-content .text-decoration-none { text-decoration: none !important; }
.new-theme-content .small { font-size: 0.875rem !important; }
.new-theme-content .lh-lg { line-height: 1.75 !important; }

/* Colors */
.new-theme-content .text-white { color: #fff !important; }
.new-theme-content .text-dark { color: var(--text-dark, #1e293b) !important; }
.new-theme-content .text-muted { color: var(--medium-gray, #94a3b8) !important; }
.new-theme-content .text-primary { color: var(--primary-blue, #1d3989) !important; }
.new-theme-content .text-success { color: #10b981 !important; }
.new-theme-content .text-danger { color: #ef4444 !important; }
.new-theme-content .text-warning { color: #f59e0b !important; }
.new-theme-content .bg-white { background-color: #fff !important; }
.new-theme-content .bg-light { background-color: var(--off-white, #f8fafc) !important; }

/* Border & Radius */
.new-theme-content .rounded-2 { border-radius: 0.375rem !important; }
.new-theme-content .rounded-3 { border-radius: 0.5rem !important; }
.new-theme-content .rounded-4 { border-radius: 1rem !important; }
.new-theme-content .rounded-circle { border-radius: 50% !important; }
.new-theme-content .border-0 { border: 0 !important; }
.new-theme-content .border-bottom { border-bottom: 1px solid var(--light-gray, #e2e8f0) !important; }
.new-theme-content .overflow-hidden { overflow: hidden !important; }
.new-theme-content .shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important; }
.new-theme-content .shadow { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important; }
.new-theme-content .shadow-custom { box-shadow: var(--shadow-md, 0 8px 30px rgba(0, 0, 0, 0.12)) !important; }

/* Lists */
.new-theme-content .list-unstyled { padding-left: 0; list-style: none; margin-bottom: 0; }

/* Custom Theme Classes */
.new-theme-content .font-display { font-family: var(--font-display, 'Outfit', sans-serif) !important; }
.new-theme-content .text-primary-navy { color: var(--primary-navy, #0b2564) !important; }
.new-theme-content .text-primary-blue { color: var(--primary-blue, #1d3989) !important; }
.new-theme-content .text-accent-gold { color: var(--accent-gold, #d4a739) !important; }
.new-theme-content .bg-gradient-primary { background: var(--gradient-primary, linear-gradient(135deg, #0b2564 0%, #1d3989 100%)) !important; }

/* ===== METRONIC PORTLET → MODERN CARD ===== */
.new-theme-content .portlet {
    background: #fff;
    border-radius: var(--radius-lg, 16px) !important;
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0, 0, 0, 0.12));
    border: none !important;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.new-theme-content .portlet.light {
    background: #fff;
}

.new-theme-content .portlet > .portlet-title {
    background: var(--gradient-primary, linear-gradient(135deg, #0b2564 0%, #1d3989 100%));
    padding: 1rem 1.5rem;
    border: none !important;
    border-radius: 0;
    min-height: auto;
    margin-bottom: 0;
}

.new-theme-content .portlet > .portlet-title > .caption {
    color: #fff !important;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.new-theme-content .portlet > .portlet-title > .caption > i {
    color: var(--accent-gold, #d4a739) !important;
    font-size: 1.25rem;
}

.new-theme-content .portlet > .portlet-title > .caption > .caption-subject {
    color: #fff !important;
    font-weight: 600;
}

.new-theme-content .portlet > .portlet-title > .actions {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-theme-content .portlet > .portlet-title > .actions .btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-size: 1.500rem;
    transition: all 0.2s ease;
}

.new-theme-content .portlet > .portlet-title > .actions .btn:hover {
    background: rgba(255,255,255,0.25);
}

.new-theme-content .portlet > .portlet-title > .actions .btn i {
    margin-right: 0.25rem;
}

.new-theme-content .portlet > .portlet-body {
    padding: 1.5rem;
    background: #fff;
}

/* Portlet Form variant */
.new-theme-content .portlet.portlet-form > .portlet-body {
    padding: 1.5rem;
}

/* ===== PAGE HEAD ===== */
.new-theme-content .page-head {
    background: transparent;
    padding: 0 0 1rem 0;
}

.new-theme-content .page-head .page-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-weight: 700;
    color: var(--primary-navy, #0b2564);
    font-size: 1.75rem;
    margin: 0;
}

.new-theme-content .page-head .page-title > small {
    color: var(--medium-gray, #94a3b8);
    font-weight: 400;
    font-size: 0.9rem;
}

/* ===== BREADCRUMB ===== */
.new-theme-content .page-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.new-theme-content .page-breadcrumb > li > a,
.new-theme-content .page-breadcrumb > li > span {
    color: var(--medium-gray, #94a3b8);
    font-size: 1.500rem;
}

.new-theme-content .page-breadcrumb > li > a:hover {
    color: var(--primary-blue, #1d3989);
}

/* ===== FORMS - Modern Style ===== */
.new-theme-content .form-control {
    border: 2px solid var(--light-gray, #e2e8f0);
    border-radius: var(--radius-sm, 8px);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
}

.new-theme-content .form-control:focus {
    border-color: var(--primary-blue, #1d3989);
    box-shadow: 0 0 0 3px rgba(29, 57, 137, 0.15);
    outline: none;
}

.new-theme-content .form-control:disabled,
.new-theme-content .form-control[readonly] {
    background: var(--off-white, #f8fafc);
}

/* Form Group */
.new-theme-content .form-group {
    margin-bottom: 1.25rem;
}

.new-theme-content .form-group > label,
.new-theme-content .control-label {
    font-weight: 600;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.5rem;
    font-size: 1.500rem;
}

/* Metronic Form MD Line Input */
.new-theme-content .form-md-line-input .form-control {
    border: none;
    border-bottom: 2px solid var(--light-gray, #e2e8f0);
    border-radius: 0;
    padding: 0.75rem 0;
    background: transparent;
}

.new-theme-content .form-md-line-input .form-control:focus {
    border-color: var(--primary-blue, #1d3989);
    box-shadow: none;
}

.new-theme-content .form-md-line-input label {
    color: var(--medium-gray, #94a3b8);
    font-weight: 500;
}

.new-theme-content .form-md-floating-label .form-control {
    border: none;
    border-bottom: 2px solid var(--light-gray, #e2e8f0);
    border-radius: 0;
}

/* Input Group Control */
.new-theme-content .input-group-control .form-control {
    border-radius: var(--radius-sm, 8px) 0 0 var(--radius-sm, 8px);
}

.new-theme-content .input-group-btn .btn {
    border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
}

/* Select2 Override */
.new-theme-content .select2-container .select2-selection {
    border: 2px solid var(--light-gray, #e2e8f0) !important;
    border-radius: var(--radius-sm, 8px) !important;
    min-height: 44px;
}

.new-theme-content .select2-container--focus .select2-selection {
    border-color: var(--primary-blue, #1d3989) !important;
    box-shadow: 0 0 0 3px rgba(29, 57, 137, 0.15) !important;
}

/* ===== TABLES - Modern Style ===== */
.new-theme-content .table {
    border-collapse: separate;
    border-spacing: 0;
}

.new-theme-content .table > thead > tr > th {
    background: var(--gradient-primary, linear-gradient(135deg, #0b2564 0%, #1d3989 100%));
    color: #fff !important;
    font-weight: 600;
    font-size: 1.500rem;
    padding: 1rem;
    border: none !important;
    text-transform: none;
}

.new-theme-content .table > thead > tr > th:first-child {
    border-radius: var(--radius-md, 12px) 0 0 0;
}

.new-theme-content .table > thead > tr > th:last-child {
    border-radius: 0 var(--radius-md, 12px) 0 0;
}

.new-theme-content .table > tbody > tr > td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--light-gray, #e2e8f0);
    color: var(--text-dark, #1e293b);
}

.new-theme-content .table > tbody > tr:hover > td {
    background: rgba(11, 37, 100, 0.03);
}

.new-theme-content .table > tbody > tr:last-child > td {
    border-bottom: none;
}

/* Table bordered variant */
.new-theme-content .table-bordered {
    border: 1px solid var(--light-gray, #e2e8f0);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
}

.new-theme-content .table-bordered > thead > tr > th,
.new-theme-content .table-bordered > tbody > tr > td {
    border: 1px solid var(--light-gray, #e2e8f0);
}

/* Table striped variant */
.new-theme-content .table-striped > tbody > tr:nth-of-type(odd) > td {
    background: rgba(248, 250, 252, 0.5);
}

/* ===== BUTTONS - Modern Style ===== */
.new-theme-content .btn {
    border-radius: var(--radius-sm, 8px);
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    font-size: 1.500rem;
    transition: all 0.2s ease;
    border: none;
}

.new-theme-content .btn-primary,
.new-theme-content .btn.green-haze,
.new-theme-content .btn.blue-madison,
.new-theme-content .btn.blue {
    background: var(--gradient-primary, linear-gradient(135deg, #0b2564 0%, #1d3989 100%)) !important;
    color: #fff !important;
    border: none !important;
}

.new-theme-content .btn-primary:hover,
.new-theme-content .btn.green-haze:hover,
.new-theme-content .btn.blue-madison:hover,
.new-theme-content .btn.blue:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue, 0 4px 20px rgba(11, 37, 100, 0.3));
}

.new-theme-content .btn-success,
.new-theme-content .btn.green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #fff !important;
}

.new-theme-content .btn-danger,
.new-theme-content .btn.red,
.new-theme-content .btn.red-haze {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    color: #fff !important;
}

.new-theme-content .btn-warning,
.new-theme-content .btn.yellow {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    color: #fff !important;
}

.new-theme-content .btn-info,
.new-theme-content .btn.purple {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%) !important;
    color: #fff !important;
}

.new-theme-content .btn-default,
.new-theme-content .btn.grey-salsa {
    background: #fff !important;
    border: 2px solid var(--light-gray, #e2e8f0) !important;
    color: var(--text-dark, #1e293b) !important;
}

.new-theme-content .btn-default:hover,
.new-theme-content .btn.grey-salsa:hover {
    background: var(--off-white, #f8fafc) !important;
    border-color: var(--primary-blue, #1d3989) !important;
}

/* Button sizes */
.new-theme-content .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.new-theme-content .btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* Button circle */
.new-theme-content .btn-circle {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button outline */
.new-theme-content .btn-outline {
    background: transparent !important;
    border: 2px solid currentColor !important;
}

/* ===== BADGES & LABELS ===== */
.new-theme-content .badge,
.new-theme-content .label {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 50rem;
    font-size: 0.75rem;
}

.new-theme-content .badge-primary,
.new-theme-content .label-primary {
    background: var(--primary-blue, #1d3989);
}

.new-theme-content .badge-success,
.new-theme-content .label-success,
.new-theme-content .bg-green {
    background: #10b981 !important;
    color: #fff;
}

.new-theme-content .badge-danger,
.new-theme-content .label-danger,
.new-theme-content .bg-red,
.new-theme-content .bg-danger {
    background: #ef4444 !important;
    color: #fff;
}

.new-theme-content .badge-warning,
.new-theme-content .label-warning,
.new-theme-content .bg-yellow,
.new-theme-content .bg-warning {
    background: #f59e0b !important;
    color: #fff;
}

.new-theme-content .badge-info,
.new-theme-content .label-info,
.new-theme-content .bg-blue,
.new-theme-content .bg-info {
    background: #3b82f6 !important;
    color: #fff;
}

/* ===== ALERTS / NOTES ===== */
.new-theme-content .note,
.new-theme-content .alert {
    border-radius: var(--radius-md, 12px);
    padding: 1rem 1.25rem;
    border: none;
    margin-bottom: 1rem;
}

.new-theme-content .note-info,
.new-theme-content .alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.new-theme-content .note-warning,
.new-theme-content .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.new-theme-content .note-success,
.new-theme-content .alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    color: #065f46;
}

.new-theme-content .note-danger,
.new-theme-content .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

/* ===== TABS ===== */
.new-theme-content .nav-tabs {
    border-bottom: 2px solid var(--light-gray, #e2e8f0);
}

.new-theme-content .nav-tabs > li > a {
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    color: var(--medium-gray, #94a3b8);
    font-weight: 600;
    position: relative;
}

.new-theme-content .nav-tabs > li > a:hover {
    background: transparent;
    color: var(--primary-blue, #1d3989);
}

.new-theme-content .nav-tabs > li.active > a,
.new-theme-content .nav-tabs > li > a.active {
    color: var(--primary-blue, #1d3989);
    background: transparent;
    border: none;
}

.new-theme-content .nav-tabs > li.active > a::after,
.new-theme-content .nav-tabs > li > a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue, #1d3989);
    border-radius: 3px 3px 0 0;
}

/* ===== DROPDOWN MENUS ===== */
.new-theme-content .dropdown-menu {
    border: none;
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-lg, 0 20px 60px rgba(0, 0, 0, 0.2));
    padding: 0.5rem;
}

.new-theme-content .dropdown-menu > li > a {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm, 8px);
    color: var(--text-dark, #1e293b);
    transition: all 0.2s ease;
}

.new-theme-content .dropdown-menu > li > a:hover {
    background: var(--off-white, #f8fafc);
    color: var(--primary-blue, #1d3989);
}

/* ===== PAGINATION ===== */
.new-theme-content .pagination > li > a,
.new-theme-content .pagination > li > span {
    border: none;
    margin: 0 2px;
    border-radius: var(--radius-sm, 8px);
    padding: 0.5rem 0.875rem;
    color: var(--text-dark, #1e293b);
    transition: all 0.2s ease;
}

.new-theme-content .pagination > li > a:hover {
    background: var(--off-white, #f8fafc);
    color: var(--primary-blue, #1d3989);
}

.new-theme-content .pagination > .active > a,
.new-theme-content .pagination > .active > span {
    background: var(--primary-blue, #1d3989);
    color: #fff;
}

/* ===== MODALS ===== */
.modal-content {
    border: none;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 20px 60px rgba(0, 0, 0, 0.2));
}

.modal-header {
    background: var(--gradient-primary, linear-gradient(135deg, #0b2564 0%, #1d3989 100%));
    border: none;
    padding: 1.25rem 1.5rem;
}

.modal-header .modal-title {
    color: #fff;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-header .close,
.modal-header .btn-close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-header .close:hover,
.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--light-gray, #e2e8f0);
    padding: 1rem 1.5rem;
    background: var(--off-white, #f8fafc);
}

/* ===== ERROR PAGE ===== */
.new-theme-content .jumbotron {
    background: #fff;
    border-radius: var(--radius-xl, 24px);
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0, 0, 0, 0.12));
    padding: 3rem;
    text-align: center;
}

/* ===== MISC UTILITIES ===== */
.new-theme-content .pull-left { float: left !important; }
.new-theme-content .pull-right { float: right !important; }
.new-theme-content .clearfix::after { content: ""; display: table; clear: both; }

/* Font colors - Metronic */
.new-theme-content .font-white { color: #fff !important; }
.new-theme-content .font-red { color: #ef4444 !important; }
.new-theme-content .font-green { color: #10b981 !important; }
.new-theme-content .font-blue { color: #3b82f6 !important; }
.new-theme-content .font-yellow { color: #f59e0b !important; }
.new-theme-content .font-purple { color: #8b5cf6 !important; }
.new-theme-content .font-grey { color: var(--medium-gray, #94a3b8) !important; }

/* Text utilities - Metronic */
.new-theme-content .uppercase { text-transform: uppercase !important; }
.new-theme-content .sbold { font-weight: 600 !important; }
.new-theme-content .bold { font-weight: 700 !important; }

/* ===== Cards Animation ===== */
.theme-card {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md);
}

.theme-card:hover {
    transform: translateY(-2px);
}

.theme-card .card-header {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    border: none;
}

/* ===== Policy List Items ===== */
.policy-list li {
    transition: background var(--transition-fast);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: var(--radius-sm);
}

.policy-list li:hover {
    background: rgba(11, 37, 100, 0.03);
}

/* ===== Page Content Wrapper ===== */
.new-theme-content {
    background-color: var(--off-white);
    min-height: calc(100vh - 120px);
}

/* ===== Breadcrumb Styling ===== */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--medium-gray);
}

/* ===== Button Outline Primary Override ===== */
.btn-outline-primary {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-outline-primary:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
}

/* ===== Form Styles ===== */
.theme-form .form-control {
    border-radius: var(--radius-sm);
    border-color: var(--light-gray);
    padding: 0.75rem 1rem;
}

.theme-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(29, 57, 137, 0.15);
}

/* ===== Table Styles ===== */
.theme-table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.theme-table thead th {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border: none;
}

.theme-table tbody tr:hover {
    background-color: rgba(11, 37, 100, 0.03);
}

/* ===== Badge Styles ===== */
.badge-primary {
    background: var(--gradient-primary);
}

.badge-gold {
    background: var(--gradient-gold);
    color: var(--text-dark);
}

/* ===== Stats Card ===== */
.stat-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Quick Actions ===== */
.quick-action-btn {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.quick-action-btn:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

/* ===== Footer ===== */
.new-theme-footer {
    background: var(--white);
    border-top: 1px solid var(--light-gray);
}

/* ===== Dropdown Menu Fix ===== */
.btn-group {
    position: relative !important;
}

.dropdown-menu {
    position: absolute !important;
    z-index: 9999 !important;
    background: #fff;
    border: 1px solid var(--light-gray, #e2e8f0);
    border-radius: var(--radius-sm, 8px);
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0, 0, 0, 0.12));
    padding: 0.5rem 0;
    min-width: 160px;
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    margin-top: 2px !important;
}

.dropdown-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark, #1e293b);
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background: var(--off-white, #f8fafc);
    color: var(--primary-blue, #1d3989);
    text-decoration: none;
}

/* Ensure dropdown toggle works properly */
.dropdown-toggle {
    cursor: pointer;
}

/* Fix for table cell - keep relative positioning */
.table td .btn-group {
    position: relative !important;
}

.table td {
    position: relative;
}

/* Portlet body overflow for dropdown visibility */
.portlet > .portlet-body {
    overflow: visible !important;
}

/* ===== FİLTRELEME INPUTLARI - BÜYÜK FONT ===== */
.portlet .form-group label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--primary-navy, #0b2564) !important;
    margin-bottom: 8px !important;
}

.portlet .form-group .form-control {
    font-size: 15px !important;
    padding: 10px 14px !important;
    height: auto !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    transition: all 0.2s ease !important;
}

.portlet .form-group .form-control:focus {
    border-color: var(--primary-blue, #1d3989) !important;
    box-shadow: 0 0 0 3px rgba(29, 57, 137, 0.1) !important;
}

.portlet .form-group .form-control::placeholder {
    font-size: 14px !important;
    color: #9ca3af !important;
}

.portlet .form-group select.form-control {
    font-size: 15px !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
}

/* Filtre kayıt sayısı badge */
.portlet .label.label-info {
    font-size: 14px !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* ===== SÜTUN BAZLI FİLTRE STİLLERİ ===== */
.column-header {
    position: relative;
    white-space: nowrap;
}

.column-header span {
    margin-right: 8px;
}

.column-filter-icon {
    cursor: pointer;
    color: #9ca3af;
    font-size: 12px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.column-filter-icon:hover {
    color: var(--primary-blue, #1d3989);
    background: rgba(29, 57, 137, 0.1);
}

.column-filter-icon.active {
    color: #fff;
    background: var(--primary-blue, #1d3989);
}

.column-filter-popup {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 320px;
}

.column-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--primary-navy, #0b2564);
    color: #fff;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 14px;
}

.column-filter-close {
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.column-filter-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.column-filter-body {
    padding: 15px;
}

.column-filter-input {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    transition: all 0.2s ease;
}

.column-filter-input:focus {
    border-color: var(--primary-blue, #1d3989) !important;
    box-shadow: 0 0 0 3px rgba(29, 57, 137, 0.1) !important;
    outline: none;
}

.column-filter-footer {
    padding: 10px 15px 15px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.column-filter-footer .btn {
    font-size: 13px;
    padding: 6px 14px;
}

/* Aktif filtreler gösterimi */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.active-filters .label {
    display: inline-flex;
    align-items: center;
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
    padding: 40px 60px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.loading-content i {
    color: #3498db;
    margin-bottom: 15px;
}

.loading-content p {
    margin: 15px 0 0 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* ===== Selected Row Highlight ===== */
#tblIstekListesi tbody tr.selected-row {
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107;
}

#tblIstekListesi tbody tr.selected-row:hover {
    background-color: #ffe69c !important;
}

#tblIstekListesi tbody tr.selected-row td {
    font-weight: 500;
}

/* ===== Selected Record Info Panel ===== */
.selected-record-info {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #4caf50;
    border-left: 4px solid #2e7d32;
    border-radius: 5px;
    padding: 12px 15px;
    margin-top: 10px;
    font-size: 13px;
}

.selected-record-info strong {
    color: #1b5e20;
}

.selected-record-info .text-primary {
    font-size: 15px;
    font-weight: 600;
}

/* ===== İşlem Yapılan Kayıt Panel ===== */
.selected-record-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.selected-record-header {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
}

.selected-record-header i {
    margin-right: 8px;
}

.selected-record-body {
    padding: 12px 20px;
    background: #e3f2fd;
    border-top: 1px solid #90caf9;
}

.record-fields-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
}

.record-field-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.record-field-item label {
    font-size: 12px;
    color: #1565c0;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.record-field-item .record-value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.record-field-item .record-value.primary {
    color: #d32f2f;
    font-size: 14px;
    font-weight: 700;
}