/* Include Open Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* Reset margin and padding for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif; /* Set the font across the page */
    background-color: red; /* Light grey background for a modern look */
    color: #333; /* Dark grey color for text for better readability */
    line-height: 1.6; /* Good line height for readability */
    display: flex; /* Flex layout to handle sidebar and map container */
    font-size: 14px;
    flex-direction: row;
    height: 100vh; /* Full viewport height */
    padding: 0; /* Remove padding to allow full use of the page width */
    overflow: hidden; /* Prevents scrollbars if not needed */
}

/* Styling for the sidebar */
.sidebar {
    width: 400px; /* Fixed width for the sidebar */
    background-color: #fff; /* White background to match other containers */
    padding: 20px; /* Padding inside the sidebar */
    overflow-y: auto; /* Allows scrolling inside the sidebar */
    box-shadow: 2px 0 10px rgba(0,0,0,0.1); /* Shadow for depth, pointing right */
}
.sub {
    background-color: grey;
    padding: 10px;
    margin-bottom: 35px;
    color: white;
}
/* Basic styling for the map container */
.map-container {
    flex-grow: 1; /* Takes remaining space */
    overflow: hidden;
    background-color: #fff; /* White background for consistency */
    position: relative; /* Position context for absolute positioning inside */
}

/* Map element styling */
#map {
    height: 100%; /* Full height of its container */
    width: 100%; /* Full width of its container */
}

/* Basic styling for the container */
.container {
    max-width: 1200px; /* Maximum width of the container */
    margin: 0 auto; /* Center the container */
    padding: 20px;
    background-color: #fff; /* White background for the content area */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtle shadow for a slight 3D effect */
}
.container2 {
    width: 100%;
    margin: 0 auto; /* Center the container */
    padding: 20px;
    background-color: #fff; /* White background for the content area */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtle shadow for a slight 3D effect */
}
/* Button styling */
button {
    padding: 10px 20px;
    background-color: #0056b3; /* A nice, moderate blue */
    color: #ffffff; /* White text on the button */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Larger font size for better visibility */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

button:hover {
    background-color: #003d82; /* Darker blue on hover for visual feedback */
}

/* Styles for the progress bar */
#progressBar {
    width: 0;
    height: 20px;
    background-color: #4CAF50; /* Green color for a positive, engaging look */
    text-align: center;
    color: white;
    line-height: 20px; /* Center the text vertically */
    transition: width 0.4s ease-in-out; /* Smooth transition for width changes */
}

/* Status message styling */
#status {
    margin-top: 10px;
    padding: 10px;
    font-weight: 600; /* Slightly bolder font for emphasis */
}
/* Table styling */
.distance-table {
    width: 100%; /* Full width of its container */
    border-collapse: collapse; /* Collapse borders for a clean look */
}

.distance-table th,
.distance-table td {
    text-align: right; /* Align text to the left */
    padding: 8px; /* Padding for cell content */
    border-bottom: 1px solid #fff; /* Light line under each row */
}

.distance-table th {
    text-align: right;
    background-color: #f4f4f4; /* Light grey background for headers */
    color: #333; /* Dark text color for contrast */
}

.distance-table tr:hover {
    background-color: #000; /* Light highlight on row hover */
}
.fees-summary {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.fees-summary div, .fees-summary td {
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fees-summary table {
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.sideheading {
    background-color: #000000;
    margin-bottom: 10px;
}
.total-row {
    background-color: #000;
    color: #fff;
}

.total-row td {
    font-weight: bold !important;
}
