
      :root {
        --primary-color: #d9534f;
        --secondary-color: #d43f3a;
        --accent-color: #f58220;
        --light-bg: #f5f7fa;
        --card-bg: #ffffff;
        --text-color: #333333;
        --text-light: #666666;
        --border-radius: 6px;
        --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        --available-color: #4caf50;
        --selected-color: #2196f3;
        --unavailable-color: #f44336;
        --hover-color: #ffeb3b;
      }
  
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
  
      body {
        font-family: 'Montserrat', sans-serif;
        background-color: var(--light-bg);
        color: var(--text-color);
        line-height: 1.5;
        padding-bottom: 20px;
      }
  
      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
      }
  
      /* Header styles */
      header {
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 15px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        margin-bottom: 25px;
      }
  
      .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
  
      .logo {
        font-size: 24px;
        font-weight: 700;
        display: flex;
        align-items: center;
      }
  
      .logo i {
        margin-right: 10px;
        font-size: 28px;
      }
  
      nav ul {
        display: flex;
        list-style: none;
      }
  
      nav ul li {
        margin-left: 25px;
      }
  
      nav ul li a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.2s;
      }
  
      nav ul li a:hover {
        opacity: 0.8;
      }
  
      /* Main content */
      .main-content {
        padding: 30px 0;
      }
  
      .page-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--secondary-color);
      }
  
      .filters {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
        flex-wrap: wrap;
        background: var(--card-bg);
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
      }
  
      .filter-group {
        flex: 1;
        min-width: 200px;
      }
  
      .filter-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--secondary-color);
      }
  
      .filter-group input, .filter-group select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: var(--border-radius);
        font-size: 1rem;
        font-family: 'Montserrat', sans-serif;
      }
  
      .main-container {
        /*display: flex;*/
        gap: 25px;
      }
  
      .time-table-container {
        flex: 3;
        overflow: hidden;
        position: relative;
        background: var(--card-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-height: 70vh;
      }
  
      .table-scroll-info {
        padding: 8px 15px;
        background: #f0f5ff;
        font-size: 14px;
        color: var(--text-light);
        display: flex;
        align-items: center;
        border-bottom: 1px solid #eaeaea;
      }
  
      .table-scroll-info i {
        margin-right: 5px;
        color: var(--accent-color);
      }
  
      .table-wrapper {
        overflow: auto;
        max-height: calc(70vh - 40px);
      }




      .table-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    align-items: center;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-input, .control-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.control-group label {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}





  
      .booking-summary {
        flex: 1;
        background: var(--card-bg);
        padding: 25px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        min-width: 320px;
        /*max-height: 70vh;*/
        overflow-y: auto;
      }
  
      /* Table styles */
      .time-table {
        width: max-content;
        border-collapse: separate;
        border-spacing: 0;
        background: var(--card-bg);
      }
  
      .time-table th, .time-table td {
        padding: 12px 10px;
        text-align: center;
        border: 1px solid #eaeaea;
      }
  
      .time-table th {
        background-color: var(--primary-color);
        color: white;
        font-weight: 600;
        font-size: 14px;
        position: sticky;
        top: 0;
        z-index: 10;
      }
  
      .time-table th:first-child {
        left: 0;
        z-index: 11;
        min-width: 220px;
      }
  
      .machine-row {
        transition: background-color 0.2s;
      }
  
      .machine-row:hover {
        background-color: #f9f9f9;
      }
  
      .machine-info {
        text-align: left;
        padding: 12px;
        min-width: 220px;
        position: sticky;
        left: 0;
        background: inherit;
        z-index: 1;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
      }
  
      .machine-name {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 16px;
      }
  
      .machine-details {
        font-size: 0.85rem;
        color: var(--text-light);
        margin-top: 5px;
      }
  
      .time-slot {
        width: 42px;
        height: 42px;
        cursor: pointer;
        position: relative;
        border-radius: 3px;
        min-width: 42px;
      }
  
      .time-slot.available {
        background-color: var(--available-color);
        opacity: 0.7;
      }
  
      .time-slot.selected {
        background-color: var(--selected-color);
      }
  
      .time-slot.unavailable {
        background-color: var(--unavailable-color);
        opacity: 0.5;
        cursor: not-allowed;
      }
  
      .time-slot.available:hover {
        opacity: 1;
        box-shadow: 0 0 0 2px var(--hover-color);
      }
  
      .hour-label {
        font-size: 0.8rem;
        font-weight: 600;
        background-color: #e6eef9;
        min-width: 42px;
      }
  
      /* Summary styles */
      .summary-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--primary-color);
        border-bottom: 2px solid #eee;
        padding-bottom: 12px;
      }
  
      .selected-slots {
        margin-bottom: 20px;
        max-height: 200px;
        overflow-y: auto;
      }
  
      .slot-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
      }
  
      .cost-summary {
        background: #f0f5ff;
        padding: 18px;
        border-radius: var(--border-radius);
        margin: 20px 0;
      }
  
      .cost-line {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
      }
  
      .cost-total {
        font-weight: 700;
        font-size: 1.2rem;
        border-top: 1px solid #ddd;
        padding-top: 12px;
        margin-top: 12px;
      }
  
      .form-group {
        margin-bottom: 18px;
      }
  
      .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--secondary-color);
      }
  
      .form-group input, .form-group textarea, .form-group select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: var(--border-radius);
        font-size: 1rem;
        font-family: 'Montserrat', sans-serif;
      }
  
      .btn {
        background-color: var(--accent-color);
        color: white;
        border: none;
        padding: 14px 20px;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.2s;
        width: 100%;
        margin-top: 10px;
        font-family: 'Montserrat', sans-serif;
      }
  
      .btn:hover {
        background-color: #e07215;
      }
  
      .btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
      }
  
      /* Map container */
      .map-container {
        height: 250px;
        margin-bottom: 20px;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--box-shadow);
      }
  
      #map {
        height: 100%;
        width: 100%;
      }
  
      .map-actions {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
      }
  
      .map-btn {
        padding: 8px 12px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
      }
  
      .map-btn:hover {
        background-color: var(--secondary-color);
      }
      .leaflet-attribution-flag {
          display: none !important;
      }
      .leaflet-control-attribution {
        display: none !important;
      }
      /* Footer */
      footer {
        background: var(--secondary-color);
        color: white;
        padding: 30px 0;
        margin-top: 40px;
      }
  
      .footer-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
      }
  
      .footer-section {
        flex: 1;
        min-width: 250px;
        margin-bottom: 20px;
      }
  
      .footer-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        font-weight: 600;
      }
  
      .footer-section p, .footer-section a {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 10px;
        display: block;
        text-decoration: none;
      }
  
      .footer-section a:hover {
        color: white;
      }
  
      .copyright {
        text-align: center;
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
      }
  
      /* Responsive styles */
      @media (max-width: 992px) {
        .main-container {
          flex-direction: column;
        }
        
        .header-container {
          flex-direction: column;
          text-align: center;
        }
        
        nav ul {
          margin-top: 15px;
          justify-content: center;
        }
        
        nav ul li {
          margin: 0 10px;
        }
        
        .table-wrapper {
          max-height: 50vh;
        }
        
        .time-table-container {
          max-height: 50vh;
        }
        
        .booking-summary {
          max-height: none;
        }
      }
  
      @media (max-width: 768px) {
        .filters {
          flex-direction: column;
        }
        
        .filter-group {
          width: 100%;
        }
        
        .time-table {
          font-size: 14px;
        }
        
        .time-slot {
          width: 36px;
          height: 36px;
          min-width: 36px;
        }
        
        .hour-label {
          min-width: 36px;
        }
        
        .machine-info {
          min-width: 180px;
        }
        
        .time-table th:first-child {
          min-width: 180px;
        }
      }
