/* public/css/responsive.css */

/* Mobile & Tablet Styles */

@media (max-width: 991.98px) {
    /* Navbar Publik */
    .navbar-publik .navbar-collapse {
        background: rgba(11, 45, 82, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1.25rem;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 1rem;
    }
    
    .navbar-publik .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }
    
    .navbar-publik .nav-link.active::after {
        display: none;
    }
    
    .navbar-publik .nav-link.active {
        color: var(--gold-400);
        font-weight: 600;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Admin */
    .admin-wrapper {
        position: relative;
    }
    
    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 1050;
        transition: left 0.3s ease;
    }
    
    .admin-sidebar.show {
        left: 0;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
}

@media (max-width: 767.98px) {
    /* Stats */
    .stats-panel {
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    /* Tables */
    .table-responsive {
        border: 0;
    }
    
    .table-mobile-cards thead {
        display: none;
    }
    
    .table-mobile-cards tr {
        display: block;
        margin-bottom: 1rem;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 1rem;
        box-shadow: var(--shadow-sm);
    }
    
    .table-mobile-cards td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 0.5rem 0;
        text-align: right;
    }
    
    .table-mobile-cards td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        text-align: left;
        margin-right: 1rem;
    }
    
    .table-mobile-cards td.actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }
    
    .table-mobile-cards td.actions::before {
        display: none;
    }
    
    /* Maps */
    #map {
        height: 380px;
    }
}
