/* --- GLOBAL STYLES --- */
:root { 
    --primary: #007bff; 
    --secondary: #6c757d; 
    --bg: #f4f7f6; 
    --white: #ffffff;
    --dark: #343a40;
}
body { font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); margin: 0; padding: 20px; color: #333; }
.container { max-width: 1300px; margin: auto; background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* --- BOOKING FORM STYLES (Existing) --- */
h2 { color: var(--primary); border-bottom: 2px solid #eee; padding-bottom: 10px; }
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: bold; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; }
.btn { background: var(--primary); color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; width: 100%; }
.btn:hover { background: #0056b3; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.message-box { padding: 15px; margin-bottom: 20px; border-radius: 4px; font-weight: bold; }
.message-box.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.message-box.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* --- ADMIN DASHBOARD STYLES (Added) --- */
nav a { text-decoration: none; color: #555; margin-right: 15px; font-weight: 500; padding-bottom: 5px; }
nav a:hover { color: var(--primary); }

.stat-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { padding: 20px; border-radius: 10px; text-align: center; color: white; }

.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; }
.admin-table th { background: var(--dark); color: white; text-transform: uppercase; font-size: 0.85em; padding: 15px; }
.admin-table td { padding: 15px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }

/* Status Pills */
.status-pill { 
    display: inline-block; padding: 5px 12px; border-radius: 20px; 
    font-size: 0.75em; font-weight: bold; text-transform: uppercase; cursor: help; position: relative;
}
.pending_deposit { background: #fff3cd; color: #856404; }
.confirmed { background: #d4edda; color: #155724; }
.completed { background: #cce5ff; color: #004085; }
.cancelled { background: #f8d7da; color: #721c24; }

/* Tooltip for Status Pills */
.status-pill:hover::after {
    content: attr(data-tooltip); position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
    background: #333; color: #fff; padding: 8px; border-radius: 6px; width: 200px;
    font-weight: normal; font-size: 0.9em; text-transform: none; z-index: 10; line-height: 1.2;
}

/* Info Boxes */
.instruction-box { background: #fffdf0; padding: 10px; border-radius: 5px; border-left: 4px solid #ffc107; font-size: 0.9em; margin-bottom: 5px; }
.report-box { background: #f0f7ff; padding: 10px; border-radius: 5px; border-left: 4px solid var(--primary); font-size: 0.9em; }

.time-badge { background: #e9ecef; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-family: monospace; }
.tech-select, .status-select { margin-bottom: 5px; }
.update-btn { background: #28a745; font-weight: bold; }