/* Admin Panel Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* DataTable Gizleme Kuralları */
.dataTables_info,
.dataTables_processing,
.dataTables_empty {
    display: none !important;
}

/* DataTable Footer Styling */
.dataTables_wrapper .dataTables_footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.375rem;
}

.dataTables_wrapper .dataTables_footer .row {
    margin: 0;
}

.dataTables_wrapper .dataTables_footer .col-md-4 {
    padding: 0.5rem;
    text-align: center;
}

.dataTables_wrapper .dataTables_footer strong {
    color: #495057;
    font-weight: 600;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #f8f9fa;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 0.125rem 0.5rem;
    transition: all 0.15s ease-in-out;
}

.sidebar .nav-link:hover {
    color: #ee2140;
    background-color: #e9ecef;
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: #ee2140;
}

.sidebar .nav-link.active:hover {
    background-color: #d41a36;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Main Content */
main {
    margin-top: 56px;
    padding-top: 1.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

/* Dashboard Stats Cards */
.border-left-primary {
    border-left: 0.25rem solid #ee2140 !important;
}

.border-left-success {
    border-left: 0.25rem solid #198754 !important;
}

.border-left-info {
    border-left: 0.25rem solid #0dcaf0 !important;
}

.border-left-warning {
    border-left: 0.25rem solid #ffc107 !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

/* Buttons */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #ee2140;
    border-color: #ee2140;
}

.btn-primary:hover {
    background-color: #d41a36;
    border-color: #d41a36;
}

.btn-primary:focus {
    background-color: #d41a36;
    border-color: #d41a36;
    box-shadow: 0 0 0 0.25rem rgba(238, 33, 64, 0.25);
}

.btn-primary:active {
    background-color: #d41a36;
    border-color: #d41a36;
}

/* Custom Primary Color Overrides */
.text-primary {
    color: #ee2140 !important;
}

.bg-primary {
    background-color: #ee2140 !important;
}

.border-primary {
    border-color: #ee2140 !important;
}

/* Form focus states */
.form-control:focus, .form-select:focus {
    border-color: #ee2140;
    box-shadow: 0 0 0 0.25rem rgba(238, 33, 64, 0.25);
}

/* Link colors */
a {
    color: #ee2140;
}

a:hover {
    color: #d41a36;
}

.btn-group .btn {
    margin-right: 0.25rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Badges */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

/* Login Page */
.min-vh-100 {
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        height: auto;
        padding-top: 0;
    }
    
    main {
        margin-top: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Tooltips */
.tooltip {
    font-size: 0.875rem;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: #495057;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}

/* Navbar */
.navbar-brand {
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
