body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    }
    
/* General Navbar styling */
.navbar {
    background-color: #B3CAD7;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mockup-navbar {
    background-color: #B0241E;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar header */ 
.logo {
    max-height: 50px; /* Adjust the size as needed */
    padding-right: 10px;
    vertical-align: middle;
}

.mockup-logo {
    max-height: 80px; /* Adjust the size as needed */
    padding-right: 10px;
    vertical-align: middle;
}

/* Adjust navbar layout for mobile */
.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-toggle {
    background: none;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 10px 15px; /* Add padding to increase button width */
    min-width: 120px;
}

.nav-links a i {
    margin-right: 8px;
}

.nav-links a:hover {
    color: #f8f9fa;
}
@media (min-width: 768px) {
    .menu-toggle {
        display: none; /* Show hamburger icon on mobile */
    }
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%; /* Start dropdown below the navbar */
        left: 0;
        background-color: #B3CAD7;
        width: 100%;
        display: none; /* Initially hidden on mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 12px 20px; /* Add padding for mobile readability */
    }
}


    
    /* Main container and layout */
    .containers {
    max-width: 1200px; /* Using the larger max-width from the second file */
    margin: 40px auto;
    padding: 0 20px;
    }
    
    /* Account Container Styling */
    .account-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .account-stats p {
    margin-bottom: 10px;
    }
    
    /* Table container for second file */
    .table-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Enables horizontal scrolling for smaller screens */
    padding: 20px;
    }
    
    .search-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    }
    
    .search-bar input {
    width: 100%;
    max-width: 300px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
    }
    
    .search-bar input:focus {
    border-color: #007bff;
    outline: none;
    }
    
    /* Table styles */
    table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    }
    
    th, td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    }
    
    th {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #495057;
    }
    
    tr {
    transition: background-color 0.3s ease;
    }
    
    tr:hover {
    background-color: #f1f3f5;
    }
    
    /* Payment form and details */
    .payment-details {
    margin-top: 20px;
    }
    
    #cardDetails {
    margin-bottom: 15px;
    }
    
    .payment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Ensures inputs fit within the container */
    }
    
    .payment-form label {
    font-weight: 500;
    color: #495057;
    }
    
    .payment-form input,
    .payment-form .StripeElement {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s;
    box-sizing: border-box;
    }
    
    .payment-form input:focus,
    .payment-form .StripeElement--focus {
    border-color: #007bff;
    outline: none;
    }
    
    .payment-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    }
    
    .payment-form button:hover {
    background-color: #0056b3;
    }
    
    /* Improved Button Styling */
    .btn-primary {
        background-color: #007bff;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .mockup-btn-primary {
        background-color: #B0241E;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .button-container {
        display: flex;
        justify-content: start;
        gap: 10px; /* Adds space between buttons */
    }

    .btn-secondary {
        background-color: #ff4545;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
        }
    
    .btn-primary:hover {
    background-color: #0056b3;
    }
    
    /* Google autocomplete suggestions */
    .pac-container {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
    .account-container {
    padding: 15px;
    }
    
    .payment-form {
    padding: 15px;
    }
    
    table, th, td {
    font-size: 14px;
    }
    
    .search-bar {
    width: 100%;
    justify-content: center;
    }

    }

    /* Main container to hold address entry and map */
.new_order_container {
    display: flex;
    flex-direction: row; /* Default to row layout */
    height: calc(100vh - 60px); /* Full height minus navbar height */
    overflow: hidden; /* Prevent overflow */
}

/* Main container to hold address entry and map */
.new_order_container {
    display: flex;
    flex-direction: row; /* Default to row layout */
    height: calc(100vh - 60px); /* Full height minus navbar height */
    overflow: hidden; /* Prevent overflow */
}

/* Address entry styling */
.address-entry {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%; /* Full width */
    max-width: 450px; /* Set max width to match screen width */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
    box-sizing: border-box; /* Include padding and border in the width */
    display: flex; /* Use Flexbox */
    flex-direction: column; /* Stack items vertically */
}

/* Map styling */
.map {
    flex: 1; /* Take remaining width */
    height: 100%; /* Full height */
    min-height: 375px; /* Ensure it has a minimum height */
    background-color: #eaeaea; /* Placeholder background for map */
}

/* Address entry styling for inputs */
.address-entry label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.address-entry input {
    width: 100%; /* Full width for inputs */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding and borders are included in width */
}

.address-entry textarea {
    width: 100%; /* Full width for inputs */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding and borders are included in width */
}

/* Improved Button Styling */
.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-mile1 {
    background-color: #B3CAD7;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .new_order_container {
        flex-direction: column; /* Stack vertically on smaller screens */
        height: auto; /* Allow height to adjust to content */
    }
    .address-entry {
        width: 100%; /* Full width on mobile */
        margin: 0; /* No margins on mobile */
        border-radius: 0; /* Remove border radius for full edge effect */
        box-shadow: none; /* Remove shadow for a flat look */
        padding: 20px; /* Add padding for better spacing */
        max-width: 100%; /* Ensure it never exceeds screen width */
    }

    #map {
        width: 100%; /* Full width on mobile */
        height: 400px; /* Fixed height for map on mobile */
        margin-top: 20px; /* Add some margin above for spacing */
        display: block; /* Ensure the map is displayed */
        min-height: 400px; /* Minimum height for visibility */
    }
}

.option-container {
    display: flex; /* Use Flexbox for the option cards */
    justify-content: space-between; /* Distribute space evenly */
    flex-wrap: wrap; /* Allow cards to wrap if necessary */
    margin-top: 10px; /* Add margin if needed */
}

.option-card {
    flex: 1 1 calc(50% - 20px); /* Allow cards to grow, shrink, and take half of the container width minus margins */
    margin: 10px; /* Keep margin */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    min-width: 110px; /* Minimum width to avoid too small cards */
}

  .vehicle-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .selected {
    background-color: #007bff; /* Bootstrap primary color */
    color: white;
    border: 1px solid #0056b3; /* Darker shade for selected card */
  }

  .vehicle-card img {
    margin-bottom: 10px;
  }

  .deliveries-table {
    width: 100%;
    border-collapse: collapse;
}

.deliveries-table th, .deliveries-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.deliveries-table th {
    background-color: #f2f2f2;
}

.deliveries-table tr:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.address-book-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 80%; /* Adjust as needed */
    max-width: 600px; /* Adjust as needed */
    max-height: 600px;
    overflow-x: scroll;
    overflow-y: scroll;
    border-radius: 8px;
}

.address-book-icon {
    cursor: pointer;
    margin-left: 5px;
}

.login-container {
    text-align: center;
    margin: 100px auto;
    padding: 30px;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-field {
    width: calc(100% - 22px); /* Adjust for padding */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.error-message {
    color: red;
    margin-bottom: 10px;
}

.tracking_map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
}

.info-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#logo-placeholder {
    width: 100px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 10px;
}

.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff; /* Blue color */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: background-color 0.3s;
}

.chat-icon:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.chat-bubble {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.chat-header span {
    font-weight: bold;
    color: #007bff;
}

.close-chat {
    background: none;
    border: none;
    color: #007bff;
    font-size: 16px;
    cursor: pointer;
}

.close-chat:hover {
    color: #0056b3; /* Darker color on hover */
}

.chat-messages {
    flex-grow: 1; /* Allow messages to grow */
    height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: #f9f9f9; /* Light background for messages */
}

.chat-messages p {
    margin: 5px 0;
}

#chat-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

#chat-input:focus {
    border-color: #007bff; /* Blue border on focus */
}

.hidden {
    display: none;
}

.name-row {
    display: flex;
    gap: 10px; /* Space between First Name and Last Name fields */
}

.first-name, .last-name {
    flex: 1; /* Ensures both fields take up equal width */
}

input, .input-like-textarea {
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

/* Style textarea to resemble an input field */
.input-like-textarea {
    height: 60px; /* Approximate height for 3 lines of text */
    resize: none; /* Prevents resizing */
    overflow-y: auto;
    line-height: 1.5;
}

/* Flex layout for label and switch */
.toggle-group {
    display: flex;
    align-items: center; /* Center vertically */
    gap: 8px; /* Space between label and toggle */
    margin-bottom: 10px;
    margin-top: 6px;
}

/* Adjust label style if needed */
.toggle-label {
    font-weight: bold; /* Optional */
    margin-right: 8px; /* Additional spacing (optional) */
}

/* Switch container and styling */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(14px);
}
  
/* Modal container */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; /* Set a high z-index to ensure it appears above other elements */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto; /* Allows scrolling on small screens */
}

/* Modal content */
.modal-content {
    position: relative;
    margin: 5% auto; /* Reduced margin for better fit on mobile */
    padding: 20px;
    width: 90%; /* Default width for smaller screens */
    max-width: 400px;
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    box-sizing: border-box;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}


/* Media query for smaller screens */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto; /* Adjusted margin */
        width: 90%; /* Expanded to fill more of the screen */
        padding: 15px; /* Slightly smaller padding */
    }
}


.radio-buttons {
    display: flex;
    flex-direction: row;
}

.terms-container {
    display: flex;
    flex-direction: row; 
}
.radio-buttons label {
    width: 100%;
    padding: 12px;
}
.radio-buttons input[type="radio"] {
    margin-top: 15px; /* Adds space between radio button and label text */
    width: 5%;
}

.terms-container input[type="checkbox"] {
    width: 5%;
}
.delivery-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.detail-card {
    flex: 1 1 250px; /* Adjust width as needed */
    min-width: 200px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.detail-card h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.detail-card p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #555;
}

.photos-container {
    display: flex;
    gap: 10px; /* Adds space between the images */
    margin-top: 10px;
}

.signature-image, .delivery-image {
    max-width: 200px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.usage-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.date-range-selector {
    margin-bottom: 10px;
}

.date-range-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.date-picker {
    width: calc(50% - 10px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
}

#customDateRange {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

#usageSummary {
    font-size: 14px;
    color: #333;
}

.day-button.active {
    background-color: #4CAF50; /* Green for active */
    color: white;
}
.day-button {
    transition: background-color 0.3s;
}

.logo-upload-container {
    margin-bottom: 20px;
}

.logo-upload-box {
    border: 2px dashed #bbb;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: white;
    border-radius: 6px;
    margin-top: 10px;
}

.logo-upload-label {
    font-size: 14px;
    color: #666;
}

#logo-preview {
    max-width: 100%;
    max-height: 150px;
    margin-top: 10px;
}

#customerTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#customerTable th, #customerTable td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

#customerTable th {
    background-color: #f4f4f4;
    font-weight: bold;
}

#customerTable tr:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.section-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

h2, h3 {
    color: #333;
    font-weight: 500;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.input-group label {
    flex: 1;
    font-size: 14px;
    color: #555;
}

.input-group input, .input-group textarea {
    flex: 2;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}