:root {
    --primary-color: #2D8078;
    --primary-dark: #24655f;
    --primary-light: #3fa89e;
    --secondary-color: #FFA726;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;
}

[data-theme="dark"] {
    --light-color: #222;
    --dark-color: #f8f9fa;
    --primary-color: #3fa89e; /* Daha açık bir ton */
    --primary-dark: #2D8078;
    --danger-color: #ff6b6b;
    --success-color: #51cf66;
    --warning-color: #fcc419;
    --secondary-color: #ffa94d;
    --sidebar-bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --border-color: #444;
}



/* Temel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}
[data-theme="dark"] body {
    background-color: #121212;
}
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Stilleri */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header img {
    height: 30px;
    margin-right: 10px;
}

.sidebar-header span {
    font-weight: 700;
    font-size: 1.2rem;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 5px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-nav a i {
    margin-right: 10px;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-nav .active a {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-left: 3px solid white;
}

.sidebar-nav .badge {
    margin-left: auto;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.environment-impact {
    display: flex;
    align-items: center;
}

.impact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.impact-info span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 5px 0;
    overflow: hidden;
}

.progress-bar .progress {
    height: 100%;
    background-color: white;
    border-radius: 3px;
}

.impact-info small {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Header Stilleri */
.dashboard-header {
    height: var(--header-height);
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

.dashboard-header h1 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
}

.notifications {
    position: relative;
    margin-right: 20px;
}

.notification-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    cursor: pointer;
    position: relative;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 40px;
    width: 300px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.notifications:hover .notification-dropdown {
    opacity: 1;
    visibility: visible;
    top: 50px;
}

.notification-item {
    display: flex;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background-color: #f5f7fa;
}

.notification-icon {
    width: 30px;
    height: 30px;
    background-color: #f5f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--primary-color);
}

.notification-content p {
    margin: 0;
    font-size: 0.9rem;
}

.notification-content small {
    font-size: 0.7rem;
    color: #999;
}

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    text-align: right;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-email {
    font-size: 0.8rem;
    color: #999;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: 50px;
    width: 200px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.user-profile:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    top: 60px;
}

.profile-dropdown a {
    display: block;
    padding: 8px 15px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.profile-dropdown a:hover {
    background-color: #f5f7fa;
    color: var(--primary-color);
}

.profile-dropdown a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

#theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
}

.dashboard-content {
    padding: 25px;
}

/* Kart Stilleri */
.welcome-banner {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(45, 128, 120, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid rgba(45, 128, 120, 0.2);
}

.welcome-text h2 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.welcome-text p {
    margin: 0;
    color: var(--dark-color);
    opacity: 0.8;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}


[data-theme="dark"] .card {
    border: 1px solid var(--border-color);
}
.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.stat-card {
    display: flex;
    padding: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-success {
    background-color: var(--success-color);
}

.bg-danger {
    background-color: var(--danger-color);
}

.bg-warning {
    background-color: var(--warning-color);
}

.card-content h3 {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    color: #999;
    font-weight: 600;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.positive {
    color: var(--success-color);
}

.negative {
    color: var(--danger-color);
}

.stat-link {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.dashboard-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.main-card {
    flex: 2;
}

.side-card {
    flex: 1;
}

.full-card {
    width: 100%;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.card-body {
    padding: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 10px;
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
}

.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.data-table tr:last-child td {
    border-bottom: none;
}
[data-theme="dark"] .data-table th,
[data-theme="dark"] .data-table td {
    border-color: var(--border-color);
}

[data-theme="dark"] .data-table th {
    background-color: #2a2a2a;
    color: #ddd;
}
[data-theme="dark"] .dashboard-header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dashboard-sidebar {
    background-color: var(--sidebar-bg);
}
[data-theme="dark"] .form-control {
    background-color: #333;
    border-color: #444;
    color: #fff;
}

[data-theme="dark"] .form-control:focus {
    box-shadow: 0 0 0 3px rgba(63, 168, 158, 0.3);
}
[data-theme="dark"] .modal-content {
    background-color: #2d2d2d;
    color: #fff;
}

[data-theme="dark"] .modal-header {
    border-color: #444;
}
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #444;
}
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.badge.warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.badge.danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.event-date {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.event-details h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
}

.event-details p {
    margin: 0;
    font-size: 0.8rem;
    color: #999;
}

.event-actions {
    margin-left: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.8rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
}

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

.btn-outline:hover {
    background-color: rgba(45, 128, 120, 0.1);
}

.btn i {
    margin-right: 5px;
}

.sustainability-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

/* Footer Stilleri */
.dashboard-footer {
    background-color: white;
    padding: 20px;
    border-top: 1px solid #eee;
    margin-left: var(--sidebar-width);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #999;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .dashboard-row {
        flex-direction: column;
    }
    
    .main-card, .side-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        left: calc(-1 * var(--sidebar-width));
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    .main-content, .dashboard-footer {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .welcome-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .profile-info {
        display: none;
    }
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .dashboard-row {
        flex-direction: column;
    }
    
    .main-card, .side-card {
        width: 100%;
    }
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .waste-report-container {
        grid-template-columns: 1fr;
    }
    
    .waste-report-form .form-row {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 95%;
        margin: 10px auto;
    }
    .dashboard-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    /* Menü açıkken body scroll'unu engelle */
    body.no-scroll {
        overflow: hidden;
    }
    
    /* Menü arka planı */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 576px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .dashboard-header {
        padding: 0 15px;
    }
    
    .profile-info {
        display: none;
    }
    
    .header-right {
        gap: 10px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* Atık Bildirim Sayfası Stilleri */
.waste-report-header {
    margin-bottom: 30px;
}

.waste-report-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.waste-report-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.waste-report-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 128, 120, 0.2);
}

.location-options {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.location-option {
    display: flex;
    align-items: center;
}

.location-option input {
    margin-right: 8px;
}

.map-container {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.waste-location-map {
    height: 300px;
    width: 100%;
}

.location-details {
    margin-top: 15px;
}

.location-info {
    padding: 10px;
    background-color: #f5f7fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.location-info i {
    margin-right: 8px;
}

.image-upload-container {
    margin-top: 10px;
}

.image-upload-label {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f5f7fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-label:hover {
    background-color: #e9ecef;
}

.image-upload-label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.image-preview {
    margin-top: 15px;
}

.preview-image {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estimated-points {
    margin: 20px 0;
}

.points-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 5px 0;
}

.recent-reports .report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.recent-reports .report-item:last-child {
    border-bottom: none;
}

.report-type {
    display: flex;
    align-items: center;
}

.report-type-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(45, 128, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.report-type-info h4 {
    margin: 0;
    font-size: 0.9rem;
}

.report-type-info small {
    color: #999;
    font-size: 0.8rem;
}

.report-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.report-amount span {
    font-weight: 600;
}

.report-points span {
    color: var(--secondary-color);
    font-weight: 600;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.status-badge.warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.status-badge.danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.status-badge.info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.no-reports {
    text-align: center;
    padding: 30px;
    color: #999;
}

.no-reports i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--dark-color);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.history-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.history-table-container {
    position: relative;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    text-align: left;
    padding: 12px 15px;
    background-color: #f5f7fa;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.history-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.history-table tr:last-child td {
    border-bottom: none;
}
/* Form Group Stilleri */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #999;
}

/* Tarih Aralığı Seçici Stilleri */
.date-range-picker {
    background-color: white;
    cursor: pointer;
}

/* Tablo Yükleme Animasyonu */
.table-loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(45, 128, 120, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sayfalama Stilleri */
.table-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.table-pagination button {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pageInfo {
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Boş Veri Stili */
.no-data {
    text-align: center;
    padding: 30px;
    color: #999;
}

/* Detay Butonu Stili */
.view-details {
    white-space: nowrap;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .waste-report-container {
        grid-template-columns: 1fr;
    }
    
    .waste-report-form .form-row {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .main-content, .dashboard-footer {
        margin-left: 0;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }

}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .history-filters {
        grid-template-columns: 1fr;
    }
    
    .location-options {
        flex-direction: column;
        gap: 8px;
    }
}

/* Radyo Buton ve Checkbox Stilleri */
input[type="radio"],
input[type="checkbox"] {
    margin-right: 8px;
}

/* Buton Hover Efektleri */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(45, 128, 120, 0.3);
}

/* Kart İçi Bağlantılar */
.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 10px;
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* Modal Scrollbar Stili */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Görsel Önizleme Animasyonu */
.preview-image {
    transition: all 0.3s ease;
}

.preview-image:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
body, .card, .dashboard-header, .dashboard-sidebar {
    transition: background-color 0.3s ease, color 0.3s ease;
}
[data-theme="dark"] svg.icon {
    fill: #fff;
}
/* Konum Bilgisi İkonları */
.location-info i.fa-check-circle {
    color: var(--success-color);
}

.location-info i.fa-exclamation-triangle {
    color: var(--warning-color);
}

.location-info i.fa-map-marker-alt {
    color: var(--primary-color);
}

.location-info i.fa-home {
    color: var(--secondary-color);
}
/*yeni*/
/* statistics.php için ek CSS ve dashboard.css geliştirmeleri */

/* Container ve Layout İyileştirmeleri */
.container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Kart Stillerinin İyileştirilmesi */
.card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 1.25rem;
}

.card-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0;
}

.card-body {
    padding: 1.25rem;
}

/* Grid sisteminde kartların 100% genişlikte olması için */
@media (min-width: 1200px) {
    .col-xl-2, .col-xl-4, .col-xl-6, .col-xl-8 {
        flex: 0 0 auto;
        width: 100%;
    }
    
    /* Geniş ekranlarda kartları yan yana göstermek için */
    .dashboard-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .col-xl-8 {
        grid-column: span 2;
    }
    
    .col-xl-4 {
        grid-column: span 1;
    }
    
    .col-xl-6 {
        grid-column: span 1;
    }
    
    /* Özet metrik kartları için özel düzenleme */
    .row .col-xl-2 {
        grid-column: span 1;
        width: 100%;
    }
}

/* Form Elemanlarının İyileştirilmesi */
.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background-color: #fff;
    color: var(--dark-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 128, 120, 0.25);
    outline: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.input-group {
    border-radius: 0.5rem;
}

.input-group .form-control, .input-group .form-select {
    border-radius: 0.5rem;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #6c757d;
    padding: 0.75rem 1rem;
}

/* Buton İyileştirmeleri */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Tablo İyileştirmeleri */
.table {
    width: 100%;
    margin-bottom: 0;
    color: var(--dark-color);
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background-color: rgba(45, 128, 120, 0.05);
    border-top: 1px solid #dee2e6;
    font-weight: 600;
    padding: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.table tr:hover {
    background-color: rgba(45, 128, 120, 0.03);
}

.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Nav Tab İyileştirmeleri */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary-color);
    background-color: transparent;
}

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

/* Alert İyileştirmeleri */
.alert {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Progress Bar İyileştirmeleri */
.progress {
    height: 0.5rem;
    border-radius: 0.5rem;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 0.5rem;
    transition: width 0.6s ease;
}

/* Badge İyileştirmeleri */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* Chart Container İyileştirmeleri */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Modal İyileştirmeleri */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--dark-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

/* Form Check İyileştirmeleri */
.form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.15em;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    margin-left: 0.5em;
    font-size: 0.9rem;
}

.form-switch .form-check-input {
    width: 2em;
}

/* Loading Spinner İyileştirmeleri */
#loading {
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Metric Kart Renkleri */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-info { background-color: var(--info-color, #0dcaf0) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row {
        grid-template-columns: 1fr;
    }
    
    .col-xl-8, .col-xl-4, .col-xl-6 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
    }
    
    .form-control, .form-select {
        padding: 0.625rem 0.75rem;
    }
    
    .table th, .table td {
        padding: 0.5rem;
    }
    
    .modal-body, .modal-header {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .card {
        border-radius: 0.5rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between.align-items-center > div {
        width: 100%;
    }
}

/* Özel stiller için utility class'lar */
.text-small {
    font-size: 0.875rem;
}

.text-xsmall {
    font-size: 0.75rem;
}

.font-weight-medium {
    font-weight: 500;
}

.rounded-lg {
    border-radius: 0.75rem;
}

.rounded-xl {
    border-radius: 1rem;
}

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

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

/* Koyu tema için ek stiller */
[data-theme="dark"] .card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .card-header {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
}

[data-theme="dark"] .table th {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    color: #ddd;
}

[data-theme="dark"] .table td {
    border-color: var(--border-color);
}

[data-theme="dark"] .form-control, 
[data-theme="dark"] .form-select {
    background-color: #2a2a2a;
    border-color: var(--border-color);
    color: #fff;
}

[data-theme="dark"] .form-control:focus, 
[data-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(63, 168, 158, 0.25);
}

[data-theme="dark"] .input-group-text {
    background-color: #333;
    border-color: var(--border-color);
    color: #ddd;
}

[data-theme="dark"] .nav-tabs {
    border-color: var(--border-color);
}

[data-theme="dark"] .nav-tabs .nav-link {
    color: #ddd;
}

[data-theme="dark"] .nav-tabs .nav-link.active {
    color: var(--primary-light);
}

[data-theme="dark"] .progress {
    background-color: #2a2a2a;
}

[data-theme="dark"] .modal-content {
    background-color: var(--card-bg);
}

[data-theme="dark"] .modal-header {
    border-color: var(--border-color);
}

[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
}

[data-theme="dark"] .alert-info {
    background-color: rgba(13, 110, 253, 0.15);
}
