
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; }
        .container { max-width: 1400px; margin: 0 auto; background: white; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); overflow: hidden; }

        header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: white; padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; }
        .header-info { display: flex; align-items: center; gap: 15px; font-size: 14px; }

        .badge-role { background: #3b82f6; color: white; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: bold; letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
        .refresh-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
        .refresh-btn:hover { background: rgba(255,255,255,0.3); }

        .view-hidden { display: none !important; }
        .view-active { display: block; animation: fadeIn 0.3s; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .login-container { display: flex; justify-content: center; align-items: center; height: 90vh; }
        .login-box { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); width: 100%; max-width: 400px; text-align: center; }
        .login-box h2 { color: #1e3c72; margin-bottom: 20px; }
        .login-box input, .modal-box input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; }

        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; z-index: 1000;}
        .modal-box { background: white; padding: 30px; border-radius: 12px; width: 100%; max-width: 450px; }
        .modal-box h2 { margin-bottom: 20px; color: #1e3c72; }

        .clickable { cursor: pointer; transition: transform 0.2s, box-shadow: 0.2s; }
        .clickable:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border: 1px solid #667eea; }

        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 30px; background: #f8f9fa; }
        .stat-card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-align: center; border: 1px solid transparent; }
        .stat-value { font-size: 32px; font-weight: bold; color: #1e3c72; }
        .stat-label { color: #6c757d; margin-top: 8px; font-size: 13px; }

        .bike-grid { padding: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
        .bike-card { background: white; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); overflow: hidden; }
        .bike-header { padding: 15px 20px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; display: flex; justify-content: space-between; font-weight: bold; align-items: center; }
        .bike-status { padding: 4px 12px; border-radius: 20px; font-size: 12px; height: fit-content;}
        .status-available { background: #10b981; color: white; } .status-unlocked { background: #f59e0b; color: white; } .status-locked { background: #ef4444; color: white; }
        .bike-body { padding: 15px 20px; font-size: 14px; }
        .bike-info { display: flex; justify-content: space-between; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px;}
        .bike-actions { padding: 15px 20px; background: #f8f9fa; display: flex; gap: 10px; }

        .btn { flex: 1; padding: 8px 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; color: white; }
        .btn-unlock { background: #10b981; } .btn-lock { background: #ef4444; }
        .btn-edit { background: #3b82f6; } .btn-warning { background: #f59e0b; }
        .btn-disabled { opacity: 0.4; cursor: not-allowed; }

        .dashboard-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; padding: 30px; background: #f8f9fa; }
        .section { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        .section h2 { font-size: 18px; margin-bottom: 15px; color: #1e3c72; }

        .rental-item, .user-item, .transaction-item { padding: 12px; border-bottom: 1px solid #e9ecef; display: flex; justify-content: space-between; align-items: center; }
        .amount-positive { color: #10b981; font-weight: bold; } .amount-negative { color: #ef4444; font-weight: bold;}
        .loading { text-align: center; padding: 20px; color: #6c757d; }

        .badge-online { background: #10b981; color: white; padding: 2px 8px; border-radius: 12px; font-size: 11px; margin-left: 8px; }
        .badge-offline { background: #6c757d; color: white; padding: 2px 8px; border-radius: 12px; font-size: 11px; margin-left: 8px; }
        .badge-warning { background: #f59e0b; color: white; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; }

        .pagination-bar { display: flex; justify-content: space-between; align-items: center; background: #f8f9fa; padding: 12px 20px; border-radius: 8px; margin-bottom: 15px; }
        .date-input { padding: 6px; border-radius: 4px; border: 1px solid #ccc; font-family: inherit; font-size: 13px;}
        .search-input { padding: 6px 12px; border-radius: 20px; border: 1px solid #ccc; font-family: inherit; font-size: 14px; width: 250px; outline: none; margin-left: 15px;}

        table { width: 100%; border-collapse: collapse; margin-top: 10px; white-space: nowrap; }
        th, td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
        th { background-color: #f8f9fa; color: #1e3c72; }
        
        .clickable-header { cursor: pointer; user-select: none; transition: background 0.2s; position: relative;}
        .clickable-header:hover { background-color: #e2e8f0 !important; }
        .clickable-row { cursor: pointer; transition: background-color 0.2s; }
        .clickable-row:hover { background-color: #e2e8f0; }
        .hint-text { font-size: 12px; color: #6c757d; margin-bottom: 15px; display: block; }
        