/* ============================================
   MOBILE-OPTIMIZED CSS - COMPACT VERSION
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --secondary: #004E89;
    --accent: #F7B801;
    --dark: #1A1423;
    --light: #F7F7FF;
    --success: #06D6A0;
    --danger: #EF476F;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --blue: #3B82F6;
    --blue-light: #60A5FA;
    --green: #22C55E;
    --green-light: #4ADE80;
    --orange: #f39c12;
    --orange-light: #f7dc6f;
    --grey: #6B7280;
    --grey-light: #9CA3AF;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark);
    color: var(--light);
    min-height: 100vh;
    padding-bottom: 80px;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.15) 0%, transparent 50%);
    z-index: -1;
}

/* ============================================
   HEADER
   ============================================ */

.app-header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.header-text h1 {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.header-text p {
    color: rgba(247, 247, 255, 0.6);
    font-size: 0.75rem;
}

/* ============================================
   CONTAINER & CARD
   ============================================ */

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.section-title {
    color: var(--light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: var(--accent);
}

/* ============================================
   WAREHOUSE TOGGLE
   ============================================ */

.warehouse-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.warehouse-btn {
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--light);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.warehouse-btn i {
    font-size: 1.25rem;
}

.warehouse-btn[data-warehouse="Kalipucang"]:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.08);
    color: rgba(147, 197, 253, 0.9);
}

.warehouse-btn[data-warehouse="Kalipucang"].active {
    border-color: var(--blue) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.25)) !important;
    color: var(--blue-light) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.warehouse-btn[data-warehouse="Troso"]:hover {
    border-color: rgba(243, 156, 18, 0.3);
    background: rgba(243, 156, 18, 0.08);
    color: rgba(247, 220, 111, 0.9);
}

.warehouse-btn[data-warehouse="Troso"].active {
    border-color: var(--orange) !important;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.25), rgba(230, 126, 34, 0.25)) !important;
    color: var(--orange-light) !important;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
}

/* ============================================
   TRANSACTION TYPE
   ============================================ */

.transaction-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.type-btn {
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.type-btn i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
}

.type-btn[data-type="Masuk"].active {
    border-color: var(--success) !important;
    background: rgba(6, 214, 160, 0.2) !important;
    color: white !important;
}

.type-btn[data-type="Masuk"].active i {
    color: white !important;
}

.type-btn[data-type="Keluar"].active {
    border-color: var(--danger) !important;
    background: rgba(239, 71, 111, 0.2) !important;
    color: white !important;
}

.type-btn[data-type="Keluar"].active i {
    color: white !important;
}

/* ============================================
   SEARCH & SCANNER
   ============================================ */

.search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1.125rem 3rem 1.125rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    min-height: 52px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.search-input::placeholder {
    color: rgba(247, 247, 255, 0.4);
}

.scan-btn {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* ============================================
   ITEM RESULT CARD
   ============================================ */

.item-result {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-card {
    padding: 0.75rem;
    border-radius: 12px;
}

.item-card.gudang-a {
    border-left: 3px solid var(--blue);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.05));
}

.item-card.gudang-b {
    border-left: 3px solid var(--orange);
    background: linear-gradient(90deg, rgba(243, 156, 18, 0.08), rgba(255, 255, 255, 0.05));
}

.item-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-card-header h5 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
}

.item-id {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.item-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.item-info .label {
    color: rgba(255, 255, 255, 0.7);
}

.item-info .value {
    color: white;
    font-weight: 600;
}

.stock-info {
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-info.gudang-a {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.stock-info.gudang-b {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(230, 126, 34, 0.15));
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.stock-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.stock-value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ============================================
   FORM INPUTS
   ============================================ */

.input-group {
    margin-bottom: 0.75rem;
}

.input-group label {
    display: block;
    color: rgba(247, 247, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

textarea.input-field {
    resize: vertical;
    min-height: 80px;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.btn-submit {
    width: 100%;
    padding: 1.125rem;
    background: var(--gradient-2);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(245, 87, 108, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 87, 108, 0.5);
}

.submit-btn.gudang-a {
    background: linear-gradient(135deg, var(--blue), #2563EB);
}

.submit-btn.gudang-b {
    background: linear-gradient(135deg, var(--orange), #e67e22);
}

/* ============================================
   FLOATING ACTION BUTTON
   ============================================ */

.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.modal-content {
    background: rgba(26, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
}

.modal-title {
    color: var(--light);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: rgba(247, 247, 255, 0.6);
    font-size: 0.875rem;
}

.btn-close-modal {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ALERT CONTAINER
   ============================================ */

.alert-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    min-width: 300px;
    max-width: 90%;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    color: white;
}

.alert-success {
    background: var(--success);
}

.alert-danger {
    background: var(--danger);
}

.alert-warning {
    background: var(--accent);
    color: var(--dark);
}

.alert-info {
    background: var(--secondary);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LOG PAGE STYLES
   ============================================ */

.log-page .log-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.log-page .app-header-log {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 2rem;
}

.log-page .header-content-log {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.log-page .header-title-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.log-page .back-home-btn {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.log-page .page-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.log-page .search-filter-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.log-page .search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.log-page .warehouse-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.log-page .tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.log-page .tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.log-page .log-table-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.log-page .table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.log-page .log-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'JetBrains Mono', monospace;
}

.log-page .log-table thead {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.log-page .log-table th {
    padding: 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a78bfa;
}

.log-page .log-table td {
    padding: 1rem;
    color: var(--light);
    font-size: 0.875rem;
}

.btn-export-so {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 14px;
    padding: 0.9rem 2rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 6px 16px rgba(79, 172, 254, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3px;
}

.btn-delete-transaction {
    padding: 0.5rem 0.75rem;
    background: rgba(244, 92, 67, 0.1);
    border: 1px solid rgba(244, 92, 67, 0.3);
    border-radius: 8px;
    color: #f45c43;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-in {
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.2), rgba(56, 239, 125, 0.2));
    color: #38ef7d;
    border: 1px solid rgba(56, 239, 125, 0.3);
}

.badge-out {
    background: linear-gradient(135deg, rgba(235, 51, 73, 0.2), rgba(244, 92, 67, 0.2));
    color: #f45c43;
    border: 1px solid rgba(244, 92, 67, 0.3);
}

/* ============================================
   DROPDOWN SEARCH - FIXED POSITION
   ============================================ */

#searchResultsDropdown {
    position: fixed !important;
    background: rgba(10, 10, 20, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
    z-index: 999999999999 !important;
    max-height: 350px !important;
    overflow-y: auto !important;
    display: none;
    padding: 0 !important;
    margin: 0 !important;
    /* Posisi diatur JS, jangan pakai !important di sini */
    top: 0; 
    left: 0;
    width: 300px; 
}

.search-result-item {
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.search-result-item:hover,
.search-result-item.active {
    background: rgba(79, 172, 254, 0.2) !important;
    border-left: 4px solid #FF6B35 !important;
    padding-left: 14px !important;
}

.search-item-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.search-item-id {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.search-item-name {
    font-weight: 700 !important;
    color: white !important;
    font-size: 0.95rem !important;
}

.search-item-stock {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-align: right !important;
}

.text-success {
    color: #38ef7d !important;
}

.text-danger {
    color: #f45c43 !important;
}

.search-no-results {
    padding: 30px !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.search-no-results i {
    font-size: 2.5rem !important;
    margin-bottom: 15px !important;
    opacity: 0.5 !important;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .log-page .search-row {
        grid-template-columns: 1fr;
    }
    
    .log-page .warehouse-tabs {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }
    
    .card {
        padding: 0.75rem;
    }
    
    .warehouse-btn {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
        min-height: 48px;
    }
    
    .warehouse-btn span {
        font-size: 0.6rem;
    }
    
    .type-btn {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }
    
    .log-page .page-title {
        font-size: 1.3rem;
    }
    
    .log-page .search-filter-section {
        padding: 1rem;
    }
    
    .log-page .input-transaction-btn .btn-text {
        display: none;
    }
    
    .log-page .input-transaction-btn {
        width: 40px;
        height: 40px;
        justify-content: center;
        padding: 0;
    }
    
    .log-page .user-badge-log .user-name-log {
        display: none;
    }
    
    .log-page .user-badge-log {
        padding: 0.4rem;
    }
    
    .btn-export-so {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
    }
    
    .log-page .log-table thead {
        display: none;
    }
    
    .log-page .log-table tbody tr {
        display: block;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .log-page .log-table tbody td {
        display: block;
        border: none;
        padding: 0.5rem 0;
        text-align: left !important;
    }
    
    .log-page .log-table tbody td:before {
        content: attr(data-label);
        font-weight: 700;
        color: rgba(255, 255, 255, 0.6);
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .card {
        padding: 0.6rem;
    }
    
    .warehouse-btn {
        padding: 0.4rem 0.2rem;
        min-height: 46px;
    }
    
    .warehouse-btn span {
        font-size: 0.55rem;
    }
    
    .btn-export-so {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}