/* --- Global Reset & Box Sizing --- */
* {
    box-sizing: border-box; /* Fixes the "weird" width issues by including padding in the width calculation */
}

:root {
    --primary-blue: #0056b3;
    --success-green: #28a745;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: -apple-system, system-ui, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 10px; /* Essential for mobile breathing room */
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 900px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- Responsive Registration Form (image_76a7d2.png) --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on desktop */
    gap: 15px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr; /* Stacks to one column on mobile */
    }
}

input, select {
    width: 100% !important; /* Forces inputs to stay inside the container */
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px; /* Prevents iPhone "Auto-zoom" on focus */
}

/* --- Fix for Time Inputs (image_76abcf.png) --- */
.time-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.time-input-container input {
    width: 65px !important;
    text-align: center;
}

/* --- Table Scroll Fix (image_76ab90.png) --- */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Adds a side-scroll if the table is too wide */
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap; /* Prevents text from wrapping into multiple lines */
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background: var(--primary-blue);
    color: white;
}