/* TripDvisar - Modern Restaurant Directory CSS */
/* PROJECT_PROMPT.md'ye göre TripAdvisor benzeri tasarım */

:root {
    --primary-color: #00aa6c;
    --secondary-color: #34e0a1;
    --accent-color: #ff5722;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

/* Logo Styles */
.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* Header Styles */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.search-container {
    max-width: 600px;
}

.search-input {
    border: 2px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    border-right: none;
    padding: 12px 20px;
    font-size: 16px;
    box-shadow: none;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 20px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.search-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Avatar Styles */
.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-medium {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Navigation Styles */
.nav-pills .nav-link {
    color: var(--dark-color);
    padding: 12px 20px;
    margin: 0 5px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Search Tabs */
.search-tabs .nav-tabs {
    border: none;
}

.search-tabs .nav-link {
    border: 2px solid transparent;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 12px 20px;
    color: var(--dark-color);
    background: white;
    margin-right: 5px;
}

.search-tabs .nav-link.active {
    border-color: var(--primary-color);
    border-bottom-color: white;
    background: white;
    color: var(--primary-color);
}

.search-tabs .tab-content {
    background: white;
    padding: 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow);
}

/* Restaurant Cards */
.restaurant-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.restaurant-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.restaurant-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.restaurant-card .card-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
}

.restaurant-card .card-title a:hover {
    color: var(--primary-color);
}

/* Price Range */
.price-range {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Rating Stars */
.rating .fa-star {
    font-size: 14px;
}

.rating .fa-star.text-warning {
    color: #ffc107 !important;
}

.rating .fa-star.text-muted {
    color: #e9ecef !important;
}

/* Badges */
.badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 20px;
}

/* Quick Actions Cards */
.quick-action-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.quick-action-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-success:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Dropdowns */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Footer */
footer {
    margin-top: 80px;
    color: white;
}

footer a {
    transition: color 0.3s ease;
    color: white;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer .h1, footer .h2, footer .h3, footer .h4, footer .h5, footer .h6,
footer .footer-title {
    color: var(--primary-color);
}

footer .footer-description {
    color: white;
    opacity: 0.9;
}

/* Forms */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    padding: 12px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 170, 108, 0.25);
}

.form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    padding: 12px 15px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 170, 108, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-container {
        margin: 20px 0 !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .search-tabs .tab-content {
        padding: 20px;
    }
    
    .restaurant-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .search-input,
    .search-btn {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .hero-section .row > div:last-child {
        margin-top: 30px;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Restaurant Detail Page Styles */
.restaurant-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.restaurant-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.photo-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-gallery img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Rating Breakdown */
.rating-breakdown {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.rating-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.rating-fill {
    height: 100%;
    background: var(--warning-color);
    transition: width 0.3s ease;
}

/* Review Cards */
.review-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: var(--shadow);
}

.review-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

/* Map Styles */
.map-container {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Feature Icons */
.feature-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    margin-right: 8px;
    color: var(--primary-color);
}

/* Working Hours */
.working-hours {
    background: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
}

.working-hours .day {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.working-hours .day:last-child {
    border-bottom: none;
}

.day.today {
    background: rgba(0, 170, 108, 0.1);
    margin: 0 -15px;
    padding: 10px 15px;
    border-radius: var(--border-radius);
}

/* Status Indicators */
.status-open {
    color: var(--primary-color);
    font-weight: bold;
}

.status-closed {
    color: var(--danger-color);
    font-weight: bold;
}

.status-soon {
    color: var(--warning-color);
    font-weight: bold;
}

/* Image Upload Preview */
.image-preview {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.image-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.image-preview .remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
}

/* Search Results */
.search-filters {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Pagination */
.pagination .page-link {
    border-radius: var(--border-radius);
    margin: 0 2px;
    border: 1px solid var(--border-color);
    color: var(--dark-color);
}

.pagination .page-link:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Recipe Styles */
.recipe-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.recipe-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.recipe-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.difficulty-easy { color: var(--primary-color); }
.difficulty-medium { color: var(--warning-color); }
.difficulty-hard { color: var(--danger-color); }

/* Admin Styles - İyileştirilmiş */
.admin-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--primary-color);
}

.admin-sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-left-color: rgba(255,255,255,0.5);
}

.admin-sidebar .nav-divider {
    margin: 15px 0;
}

.admin-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 30px;
    margin-left: 280px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-content {
    padding: 30px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

/* Responsive Admin Layout */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-header,
    .admin-content {
        margin-left: 0;
    }
    
    .admin-content {
        padding: 20px;
    }
}

/* Statistics Cards */
.stat-card {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Tables */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.table th {
    background: #f8f9fa;
    border-top: none;
    font-weight: 600;
    color: #495057;
    padding: 15px;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Status Badges */
.status-pending { 
    background: var(--warning-color) !important;
    color: #000 !important;
}
.status-approved { 
    background: var(--primary-color) !important;
    color: #fff !important;
}
.status-rejected { 
    background: var(--danger-color) !important;
    color: #fff !important;
}
.status-active { 
    background: var(--primary-color) !important;
    color: #fff !important;
}
.status-blocked { 
    background: var(--danger-color) !important;
    color: #fff !important;
}

/* Admin Cards */
.admin-card {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.admin-card .card-header {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 20px;
    font-weight: 600;
}

.admin-card .card-body {
    padding: 25px;
}

/* Sidebar Enhancements */
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #495057;
    background: rgba(0,0,0,0.2);
}

.logo-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Action Buttons */
.btn-action {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 4px;
    margin: 0 2px;
}

.btn-action i {
    margin-right: 4px;
}

/* Form Improvements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 170, 108, 0.25);
}

/* Notification Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: var(--border-radius);
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 20px;
}

.alert-success {
    background: rgba(0, 170, 108, 0.1);
    color: #00705c;
    border-left: 4px solid var(--primary-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    color: #055160;
    border-left: 4px solid var(--info-color);
}

/* Mobile Sidebar Toggle */
.sidebar-toggle {
    display: none;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--primary-color);
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
}

/* Dark Mode Support (Admin) */
@media (prefers-color-scheme: dark) {
    .admin-content {
        background: #1a1a1a;
    }
    
    .stat-card,
    .admin-card {
        background: #2d2d2d;
        color: #fff;
    }
    
    .table th {
        background: #333;
        color: #fff;
    }
    
    .table td {
        background: #2d2d2d;
        color: #fff;
        border-color: #444;
    }
    /* Daha açık metin rengi (önceden #6c757d karanlık zeminde silik kalıyordu) */
    .text-muted,
    .small.text-muted {
        color: #b5b9be !important; /* Açık gri */
    }

    /* Özellik etiketleri (Wi-Fi, Otopark vb.) koyu arka plan + beyaz yazı */
    .feature-badge {
        background-color: #495057; /* Koyu gri */
        color: #fff;
        border-radius: 4px;
        font-size: 11px;
        padding: 2px 6px;
        display: inline-block;
        margin-right: 2px;
    }
}

/* Işık teması için de feature-badge tanımı */
.feature-badge {
    background-color: #f1f3f4;
    color: #333;
    border-radius: 4px;
    font-size: 11px;
    padding: 2px 6px;
    display: inline-block;
    margin-right: 2px;
}

/* Additional Utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cursor-pointer {
    cursor: pointer;
}

.border-radius {
    border-radius: var(--border-radius);
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Admin Sidebar */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: #bdc3c7 !important;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.sidebar .nav-link:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db !important;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.sidebar .nav-link.sub-nav {
    font-size: 13px;
    padding: 8px 15px;
    margin-left: 15px;
    border-left: 2px solid #34495e;
}

.sidebar .nav-link.sub-nav:hover {
    border-left-color: #3498db;
}

.sidebar .nav-link.sub-nav.active {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.section-title {
    color: #ecf0f1 !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 15px 8px 15px;
    margin: 0;
    background: none;
    border: none;
}

.section-title i {
    color: #3498db;
}

.nav-divider {
    margin: 20px 15px;
    border-top: 1px solid #34495e;
}

.sidebar-header {
    border-bottom: 1px solid #34495e;
    padding: 20px;
}

.sidebar-header .logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.user-info {
    background: rgba(52, 73, 94, 0.8);
    border-radius: 10px;
    margin: 15px;
    padding: 15px;
    border: 1px solid #34495e;
}

.user-info .avatar-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.user-info h6 {
    color: #ecf0f1;
    margin-bottom: 2px;
    font-size: 14px;
}

.user-info small {
    color: #bdc3c7;
    font-size: 12px;
}

.user-info .btn-outline-light {
    border-color: #bdc3c7;
    color: #bdc3c7;
    padding: 5px 10px;
    font-size: 12px;
}

.user-info .btn-outline-light:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* Admin Layout */
.admin-layout {
    margin-left: 250px;
    flex-grow: 1;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

/* Admin layout - sidebar açıkken sol boşluk bırak */
body.has-sidebar .admin-layout {
    margin-left: 250px !important;
}

@media (max-width: 768px) {
    .admin-layout {
        margin-left: 0;
    }
}

/* Badge improvements */
.sidebar .badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: #2c3e50;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #34495e;
    border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #3498db;
}

/* Admin Top Bar */
.admin-top-bar {
    background: #2c3e50;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    right: 0;
    left: 250px;
    z-index: 1030;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-top-bar .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 5px;
}

.admin-top-bar .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

/* Admin Content */
.admin-content {
    margin-top: 60px;
    padding: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%); /* Mobilde sidebar'ı gizle */
        transition: transform 0.3s ease;
    }
    .sidebar.show {
        transform: translateX(0%); /* Mobilde sidebar'ı göster */
    }
    .admin-layout {
        margin-left: 0; /* Mobilde boşluk bırakma */
    }
    .admin-content {
        padding: 15px;
    }
} 