/* ========================================
   MOTORACE SERVICE BOOKING - COMPLETE CSS
   Updated with Important Notice Section
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* Top Bar */
.top-bar-wrap {
    width: 100%;
    background: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-home-btn {
    color: #ff6210;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.back-home-btn:hover {
    color: #fff;
}

/* Bottom Bar */
.bottom-bar {
    height: 70px;
    width: 100%;
    background: #ff6210;
    margin-bottom: 0;
}

/* Main Header */
.main-header {
    width: 100%;
    max-width: 1200px;
    height: 350px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 15px 15px;
}

/* Page Wrapper - Updated to single column */
.page-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Content Background */
.content-bg {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    width: 100%;
}

/* Form Column - Updated to full width */
.form-col {
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Service Description */
.service-description {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #ff6210;
}

.service-description p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Important Notice Section - NEW */
.important-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #f39c12;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.2);
    position: relative;
    overflow: hidden;
}

.important-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22, #d35400);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f39c12;
}

.notice-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notice-header h3 {
    color: #d35400;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-content {
    display: grid;
    gap: 15px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    transition: all 0.3s ease;
}

.notice-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.notice-bullet {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-item div {
    color: #8b4513;
    line-height: 1.5;
    font-size: 15px;
}

.notice-item strong {
    color: #d35400;
    font-weight: 700;
}

/* Form Sections */
.form-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 4px 15px rgba(255, 98, 16, 0.1);
    transform: translateY(-2px);
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
    font-size: 16px;
}

/* Form Inputs */
.form-input, .form-select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 15px;
    font-family: inherit;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #ff6210;
    box-shadow: 0 0 15px rgba(255, 98, 16, 0.2);
    transform: translateY(-2px);
}

.form-select:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Textarea */
textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Service Options */
.service-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-option:hover {
    background: #f8f9fa;
    border-color: #ff6210;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 98, 16, 0.15);
}

.service-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    margin: 0;
    flex: 1;
}

.service-option input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.3);
    cursor: pointer;
}

.service-price {
    font-weight: bold;
    color: #ff6210;
    font-size: 18px;
    padding: 5px 10px;
    background: rgba(255, 98, 16, 0.1);
    border-radius: 6px;
}

/* Total Container */
.total-container {
    background: linear-gradient(135deg, #ff6210, #e0540e);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 98, 16, 0.3);
}

.total-label {
    font-size: 20px;
    font-weight: 700;
}

.total-amount {
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Brand Selection */
.brand-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
}

.brand-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-option:hover {
    background: #fff5f0;
    border-color: #ff6210;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 98, 16, 0.15);
}

.brand-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.brand-option label {
    margin: 0 !important;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    flex: 1;
}

/* Calendar Container */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.calendar-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6210;
}

/* Calendar Navigation */
.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.nav-btn {
    background: linear-gradient(135deg, #ff6210, #e0540e);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 98, 16, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 98, 16, 0.4);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.month-year {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/* Calendar Header */
.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 10px;
}

.calendar-header-day {
    padding: 12px 8px;
    background: #ff6210;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 25px;
}

.calendar-day {
    padding: 15px 8px;
    text-align: center;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 6px;
    position: relative;
}

.calendar-day:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.calendar-day.disabled {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
    border-color: #f5c6cb;
}

.calendar-day.disabled:hover {
    transform: none;
    box-shadow: none;
}

.calendar-day.available {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.calendar-day.available:hover {
    background: #c3e6cb;
    border-color: #28a745;
}

.calendar-day.selected {
    background: #ff6210 !important;
    color: white !important;
    border-color: #ff6210 !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 98, 16, 0.4);
    z-index: 3;
}

.calendar-day.other-month {
    color: #ccc;
    background: #f8f9fa;
    cursor: not-allowed;
}

.calendar-day.past {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.calendar-day.sunday {
    background: #fd79a8;
    color: white;
    cursor: not-allowed;
}

/* Selected Date Display */
.selected-date-display {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e7f3ff, #cce7ff);
    border-left: 5px solid #ff6210;
    border-radius: 8px;
    font-weight: 600;
    color: #333;
    text-align: center;
    font-size: 16px;
}

/* Privacy Checkbox */
.checkbox-terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #ff6210;
    border: 1px solid #e9ecef;
}

.checkbox-terms input[type="checkbox"] {
    margin: 0;
    transform: scale(1.3);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-terms label {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

.checkbox-terms a {
    color: #ff6210;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-terms a:hover {
    text-decoration: underline;
}

/* Form Button */
.form-btn {
    background: linear-gradient(135deg, #ff6210, #e0540e);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(255, 98, 16, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 98, 16, 0.4);
}

.form-btn:active {
    transform: translateY(-1px);
}

/* Success and Error Messages */
.success-message, .error-message {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    font-size: 16px;
}

.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 2px solid #c3e6cb;
}

.error-message {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Footer */
.footer-bar {
    height: 60px;
    width: 100%;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-top: 50px;
    font-weight: 500;
}

/* reCAPTCHA Container */
.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* ========================================
   ADMIN DASHBOARD STYLES (SCHEDULER.PHP)
   ======================================== */

/* Admin Top Bar */
.logo {
    color: #ff6210;
    font-size: 20px;
    font-weight: bold;
}

.logout-btn button {
    padding: 10px 25px;
    background: #ff6210;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.logout-btn button:hover {
    background: #e65100;
}

/* Admin Container */
.container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Header Section */
.header-section {
    background: linear-gradient(135deg, #ff6210, #e65100);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.header-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Card */
.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 3px solid #ff6210;
    padding-bottom: 10px;
}

/* Summary Table Container */
.summary-table-container { 
    max-height: 400px; 
    overflow-y: auto; 
    background: #fff; 
    border-radius: 8px; 
    border: 1px solid #ddd;
}

/* Summary Table */
.summary-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #fff; 
    font-size: 14px;
}

.summary-table th, .summary-table td { 
    padding: 12px 8px; 
    border: 1px solid #ddd; 
    text-align: left; 
}

.summary-table th { 
    background: #ff6210; 
    color: #fff; 
    position: sticky; 
    top: 0; 
    z-index: 2; 
    font-weight: bold;
}

.summary-table tr:nth-child(even) { 
    background: #f9f9f9; 
}

.summary-table tr:hover {
    background: #f0f0f0;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

/* Labels and Inputs */
label { 
    font-weight: bold; 
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"], input[type="number"], select { 
    width: 100%; 
    padding: 12px; 
    border-radius: 5px; 
    border: 1px solid #ddd; 
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus, input[type="number"]:focus, select:focus {
    outline: none;
    border-color: #ff6210;
    box-shadow: 0 0 5px rgba(255, 98, 16, 0.3);
}

/* Submit Button */
input[type="submit"], .btn { 
    background: #ff6210; 
    color: #fff; 
    border: none; 
    cursor: pointer; 
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
    width: 100%;
}

input[type="submit"]:hover, .btn:hover { 
    background: #e0540e; 
}

/* Delete Section */
.delete-section {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
}

.delete-section h2 {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

.delete-section input[type="submit"] {
    background: #d32f2f;
}

.delete-section input[type="submit"]:hover {
    background: #b71c1c;
}

/* Grid Full */
.grid-full {
    grid-column: 1 / -1;
}

/* Mechanic Dashboard Styles */
.mechanic-dashboard {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.mechanic-dashboard h2 {
    color: white;
    border-bottom: 3px solid white;
    margin-bottom: 25px;
    text-align: center;
}

.mechanic-table-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.mechanic-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden;
}

.mechanic-table th {
    background: #333;
    color: white;
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
}

.mechanic-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.mechanic-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.5);
}

.mechanic-table tr:hover {
    background: rgba(255, 98, 16, 0.1);
}

/* Status Badge */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* Mechanic Stats */
.mechanic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

/* Search Container */
.search-container {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.search-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff6210;
    box-shadow: 0 0 10px rgba(255, 98, 16, 0.2);
}

.clear-btn {
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.clear-btn:hover {
    background: #5a6268;
}

.search-info {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.highlight {
    background: #fff3cd;
    color: #856404;
    font-weight: bold;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 6px 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-btn {
    background: #007bff;
    color: white;
}

.password-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.status-btn {
    background: #28a745;
    color: white;
}

.status-btn:hover {
    background: #1e7e34;
    transform: scale(1.1);
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.modal-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.modal-form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-btn-primary {
    background: #007bff;
    color: white;
}

.modal-btn-primary:hover {
    background: #0056b3;
}

.modal-btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-btn-secondary:hover {
    background: #545b62;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 15px;
    }
    
    .form-col {
        width: 100%;
        padding: 20px;
    }
    
    .content-bg {
        padding: 20px;
        margin: 20px auto;
    }
    
    .main-header {
        height: 200px;
        margin: 0 15px;
    }
    
    .brand-selection {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .calendar-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-btn {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 200px;
    }
    
    .calendar-header-day {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .calendar-day {
        min-height: 45px;
        padding: 12px 5px;
        font-size: 14px;
    }
    
    .form-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .service-option {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .service-price {
        align-self: flex-end;
    }
    
    .total-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .checkbox-terms {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Important Notice Mobile Styles */
    .important-notice {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .notice-header h3 {
        font-size: 18px;
    }

    .notice-item {
        padding: 10px 12px;
    }

    .notice-item div {
        font-size: 14px;
    }

    /* Admin Dashboard Mobile Styles */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-section h1 {
        font-size: 1.5rem;
    }
    
    .summary-table {
        font-size: 12px;
    }
    
    .summary-table th, .summary-table td {
        padding: 8px 4px;
    }
    
    .top-bar {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .mechanic-table th, .mechanic-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .search-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 3px;
    }
    
    .action-btn {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .main-header {
        height: 150px;
    }
    
    .calendar-day {
        min-height: 40px;
        padding: 10px 3px;
        font-size: 12px;
    }
    
    .calendar-header-day {
        padding: 8px 3px;
        font-size: 10px;
    }
    
    .brand-option {
        padding: 15px;
        justify-content: center;
    }
    
    .form-input, .form-select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .service-description {
        padding: 20px 15px;
    }
    
    .calendar-container {
        padding: 20px 15px;
    }
    
    .calendar-navigation {
        padding: 15px;
    }
    
    .month-year {
        font-size: 18px;
    }
    
    .total-amount {
        font-size: 24px;
    }
    
    .total-label {
        font-size: 18px;
    }
    
    /* Important Notice Mobile Styles */
    .important-notice {
        padding: 18px 12px;
    }

    .notice-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .notice-header h3 {
        font-size: 16px;
    }

    .notice-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Admin Dashboard Small Mobile Styles */
    .header-section {
        padding: 20px 15px;
    }
    
    .card {
        padding: 20px 15px;
    }
    
    .summary-table-container {
        max-height: 300px;
    }
    
    .mechanic-table th, .mechanic-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .top-bar-wrap,
    .bottom-bar,
    .nav-btn,
    .form-btn,
    .g-recaptcha,
    .footer-bar {
        display: none;
    }
    
    .page-wrapper {
        margin: 0;
        padding: 0;
    }
    
    .form-col {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-input, .form-select {
        border-width: 3px;
    }
    
    .calendar-day {
        border-width: 3px;
    }
    
    .form-btn {
        border: 3px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .calendar-day:hover,
    .form-btn:hover,
    .nav-btn:hover {
        transform: none;
    }
    
    .notice-icon {
        animation: none;
    }
}