



.additionals-container {
    position: relative;
    height: auto;
   /* background-color: rgba(255, 255, 255, 0.9);*/
    border-radius: 15px;
    /*padding: 20px 30px;*/
   /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    backdrop-filter: blur(10px);
   /* border: 1px solid rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display:flex;
gap: 10px;
margin-bottom:5px;
}


.additionals-container button {
    background-color: #246d9d; /* Cyan-greenish color */
background-color: rgba(36, 109, 157, 0.57);
    color: #fff; /* White text for contrast */
    border: none; /* Remove default border */
    border-radius: 4px; /* Slightly rounded corners */
    padding: 2px 7px; /* Add some padding */
    font-size: 12px; /* Modern font size */
    font-family: Arial, sans-serif; /* Clean, modern font */
    cursor: pointer; /* Pointer cursor for interaction */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover and click effect */
}

/* Hover effect for the buttons */
.additionals-container button:hover {
    background-color: #0097a7; /* Darker cyan/green on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
}

/* Active state for buttons (when clicked) */
.additionals-container button:active {
    background-color: #00796b; /* Even darker shade for click feedback */
    transform: scale(0.95); /* Slightly shrink on click */
}


.version-control-group {
    margin-left: auto; /* Push this group to the far right */
    display: flex;
    align-items: center; /* Aligns the text and buttons in the group */
    gap: 5px; /* Space between "Version Control" text and buttons */
}

.version-control-group div {
    font-weight: normal; /* Optional: Emphasize the "Version Control" label */
    font-size:10pt;
    color: rgba(0,0,0,0.5);
}


html {
    scroll-padding-top: 100px; /* Adjust to the height of your fixed header */
}

.data-heading {
	text-align:center;
}

/* Initial container styling */
.dropdown-container {
    text-align: center;
    margin: 0px auto;
    transition: all 2s ease; /* Smooth animation */
    border-radius:5px;
    padding:5px;
}

/* Title styling */
.dropdown-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 2s ease; /* Smooth animation */
}

/* Dropdown styling */
#mainProjectDropdown {
    width: 400px;
    padding: 15px;
    font-size: 18px;
    border-radius: 5px;
    border: 2px solid #ccc;
    outline: none;
    transition: all 2s ease; /* Smooth animation */
}

/* Hover effects */
#mainProjectDropdown:hover {
    border-color: #007BFF;
}

/* Active (when sliding) */
.dropdown-container.small {
  /*  position: absolute;*/
    text-align: left;
    margin-left:10px;
    /*transform: scale(0.8);*/ /* Shrink the container */
}

.dropdown-container.small .dropdown-title {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight:normal;
}

.dropdown-container.small #mainProjectDropdown {
    width: 250px;
    font-size: 12px;
    padding: 5px;
}


.show-data-button {
    padding: 4px 8px;
    font-size: 12px;
    color: #ffffff;
    background-color: #246d9d; /* Matches the blue color from the spinner */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-left: 5px; /* Add some space between checkbox and button */
    display: inline-flex;
    align-items: center;
}

/* Hover effect for the button */
.show-data-button:hover {
    background-color: #1d5c83;
}

/* Active state for when the button is clicked */
.show-data-button:active {
    transform: scale(0.98);
}

/* Optional: Add a slight shadow for depth */
.show-data-button {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}


/* Style the download container */
.download-container {
    position: relative;
    display: inline-block;
}

/* Style the download icon */
.download-icon {
    cursor: pointer;
vertical-align: middle;
padding:4px;
background-color:white;
margin:2px;
border-radius:5px;
}
.download-icon:hover:{
background-color:red;
}

/* Initially hide the dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 8px;
}

/* Style for each link in the dropdown */
.dropdown-content .download-link {
    color: black;
    padding: 8px;
    text-decoration: none;
    display: block;
}
.dropdown-content .download-link:hover {
background-color:#64b7db;
}


/* Show the dropdown on hover */
.download-container:hover .dropdown-content {
    display: block;
}


.placeholder-message {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #856404; /* Darker yellowish-brown color for the text */
    border-bottom: 2px solid #ffeeba; /* Lighter yellow border to complement the background */
    background-color: #fff3cd; /* Soft yellow background for notice effect */
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 10px;
    max-width: 550px;
    margin: 0 auto; /* Center align within container */
}



#project-body {
    white-space: pre-wrap; /* Ensures whitespace, tabs, and line breaks are respected */
}


.download-kml-link {
    /* Your styling here, for example: */
    color: #007bff;
    text-decoration: underline;
    font-size:8pt;
}


/* Toggle switch container */
.toggle-container {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 10px;
}

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

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

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

/* When checked */
input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}



.kml-layers-container {
 /*   display: flex;*/
  /*  flex-direction: column;*/
    align-items: center;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
}


#kml-layer-checkboxes {
 /*   display: flex;*/
   /* flex-direction: column;*/
    flex: 1;
}


/* Center the heading on its own line */
.alignment-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Row for the checkboxes and table */
.content-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px; /* Add space between checkboxes and table */
}



/* Full-screen overlay for loading */
#loadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
display: flex;
flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above the map */
    
opacity: 0; /* Start as invisible */
    visibility: hidden; /* Start as hidden */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;

}


#loadingOverlay.active {
    opacity: 1;
    visibility: visible;
}

#loadingOverlay p {
    font-size: 1em;
    color: #333; /* Dark text for readability */
    text-align: center;
    line-height: 1.5;
    margin-top: 100px; /* Space between loading text and this message */
}

#loadingOverlay a {
    color: #246d9d; /* Match spinner color */
    text-decoration: underline;
}

/* Spinner container */
.spinner {
    border: 25px solid #afdac8; /* Light grey border */
    border-top: 25px solid #246d9d; /* Blue color for spinner */
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: spin 1s ease-in-out infinite; /* Rotation animation */
    box-shadow: 0 0px 120px rgba(50, 50, 50, 0.3);
background-color:rgba(0, 0, 0, 0.01);
}

.spinner::before {
    content: '';
    position: absolute;
    top: -15px; /* Offset to create space for the outer border */
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid rgba(202, 255, 233, 1); /* Color and thickness for outer border */
    border-radius: 50%; /* Match the circle shape */
    z-index: -1; /* Place behind the spinner */
}


/* Spinner rotation animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading text */
#loadingText {
    font-family: Arial, sans-serif;
    font-size: 20pt;
    font-weight:bold;
    color: #333;
    margin-top: 30px;
}

.table-background-container {
margin-left:0px;
background-color: rgba(255,255,255,0.9);
border-radius:10px;
padding:25px;
margin-top:20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.1);

}


.alignment-comparison-container {
margin-left:0px;
background-color: rgba(255,255,255,0.9);
border-radius:10px;
padding:25px;
margin-top:20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.1);

}




#elevation-length-graph {
margin-left:0px;
background-color: rgba(255,255,255,0.9);
border-radius:10px;
padding:25px;
margin-top:20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.1);
/*height:300px;*/
}
#elevation-length-graph img{
width:100%;

}

#elevation-length-graph p {
text-align:center;

}
#elevation-length-graph h3 {
text-align:center;
}

#elevation-length-graph:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease; /* Smooth transition */
}


#elevation-length-graph img {
    width: 100%;
    border-radius:10px;
    cursor: zoom-in; /* Change cursor to indicate zoom */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for a floating effect */
    backdrop-filter: blur(10px); /* Optional: Adds a blur effect to background (modern look) */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Optional: Light border for better visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#elevation-length-graph img:hover {
transform: scale(1.05);
}

.magnifier {
    position: absolute;
    border: 3px solid #333; /* Border around the magnifier */
    border-radius: 50%; /* Make it a circle */
    width: 50px; /* Diameter of the magnifying glass */
    height: 50px;
    overflow: hidden;
    display: none; /* Hide by default */
    pointer-events: none; /* Make it unclickable */
}

.magnifier img {
    position: absolute;
    width: 300%; /* Zoom level */
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle, white 60%, #d6d6d6 100%);
}

#map {
    margin-left:10px;
    height: 60vh; /* Adjust height for better view on smaller screens */
    width: 35vw; /* Make the map responsive */
    border: 3px solid #e1e1e1;
    border-radius: 10px;
    overflow: hidden;
}

.notice-development {
position:fixed;
bottom:0px;
left:5px;
font-size:8pt;
z-index:1001;
width:100%;
color:white;
text-align:center;
background-color:black;
}

.mainContainer h1 {
margin: 0 auto;
text-align:center;
color:gray;
}

.mainContainer {
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 20px;
    margin-right:10px;
}
.mainContainer > :first-child {
    flex-basis: 60%; /* Adjust this percentage as needed */
}
.mainContainer > :nth-child(2) {
    flex-basis: 40%; /* Adjust this percentage as needed for the second child */
}

.secondContainerInMainContainer {
}


.secondMainContainer {
    display: flex;
    flex-direction: column; /* Stacks each row vertically */
    gap: 20px;
    padding:0 20px 0 20px;
}

.row {
    display: flex;
    gap: 20px;
}

.row:first-child > #elevation-length-graph {
    flex-basis: 50%; /* 60% width for the first item in the first row */
}

.left-column {
    display: flex;
    flex-direction: column; /* Stacks elevation-length-graph and template-materials vertically */
    flex-basis: 50%; /* Takes 60% of the row's width */
}

.row:first-child > #alignment-summary-row {
    flex-basis: 50%; /* 40% width for the second item in the first row */
}

.row:nth-child(2) > #bridge-report-row {
    flex-basis: 100%; /* 40% width for the second item in the first row */
}

.row:nth-child(3) > #tunnel-report-row {
    flex-basis: 100%; /* 40% width for the second item in the first row */
}



#main-container {
    position: relative; /* Use relative positioning to contain absolute children */
    width: 100%; /* Full width of the parent container */
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*
#controls {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 5;
}
*/

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    flex-direction: column;
}

.progress-container {
    width: 80%;
    background-color: #ddd;
    border-radius: 25px;
    margin: 10px 0;
}

.progress-bar {
    width: 0;
    height: 25px;
    background-color: #4caf50;
    border-radius: 25px;
    text-align: center;
    line-height: 25px;
    color: white;
}

#progress-text {
    font-size: 18px;
    font-weight: bold;
}


/*
.checkbox-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}
*/

/*
.checkbox-container {
    display: flex;
    align-items: center;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}
*/


.checkbox-container {
    display: flex;
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center vertically */
    margin: 0 auto; /* Center the container */
    width: fit-content; /* Adjust width to fit content */
    /*position: relative; Relative positioning to the parent container */
    margin-bottom:0px;
}



.checkbox-label {
    position: relative;
    display: flex;
    align-items: center;
    margin: 50px 40px 10px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: #007BFF;
}

.checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox {
    width: 25px;
    height: 25px;
    background-color: #f0f0f0;
    border-radius: 5px;
    border: 2px solid #ddd;
    margin-right: 10px;
    transition: background-color 0.3s, border-color 0.3s;
}

.checkbox:checked + .custom-checkbox {
    background-color: #007BFF;
    border-color: #007BFF;
}

.custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 10px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox:checked + .custom-checkbox:after {
    display: block;
}

.checkbox:focus + .custom-checkbox {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}


.select-container {
    text-align: center;
    margin: 20px;
}

.select-container label {
    font-size: 18px;
}

.select-container select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Data Table Styling */
.data-table-container {
    display: none; /* Hide all tables initially */
    margin: 20px auto;
    width: 100%;
    text-align: center;
    position:relative;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    table-layout: fixed; /* Ensure fixed width columns */
   /* display: inline-block;*/
    font-size:10pt;
}

/* General Styling for Table Cells */
table th, table td {
    padding: 10px 12px; /* Adjust padding for compactness */
    border: 1px solid rgba(0,0,0,0.15);
    text-align: left; /* Left align text by default */
	border-radius:5px;
}

/* Header Styling */
table th {
    background-color: #f4f4f4;
    font-weight: bold;
    text-transform: uppercase; /* Optional: Uppercase for header */
    white-space: nowrap; /* Prevent header text from wrapping */
	border-radius:10px;
}

/* Apply Specific Column Widths */
table th:nth-child(1), table td:nth-child(1) {
    width: 80px; /* Example: Narrower width for the first column */
}

table th:nth-child(3), table td:nth-child(3) {
    width: 150px; /* Example: Wider width for the third column */
}

/* Zebra Striping for Rows */
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:nth-child(odd) {
    background-color: #fff;
}

/* Hover Effect for Rows */
table tr:hover {
    background-color: #74b2e9;
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Alignment for Numeric Columns */
.numeric-column {
    text-align: right; /* Right-align for numeric data */
}

.center-column {
    text-align: center; /* Center-align for specific columns */
}

/* Adjust Header Styles */
table th {
    font-size: 14px; /* Slightly smaller font for headers */
    color: #333; /* Darker color for headers */
    border-bottom: 2px solid #ccc; /* Thicker bottom border */
}

/* Optional: Reduce Column Width */
table th.narrow, table td.narrow {
    width: 50px; /* Narrower columns */
}

table th.wide, table td.wide {
    width: 200px; /* Wider columns */
}



/* Styling for Alignment Summary Table */

#alignment-summary {
    position: relative; /* Make sure the container is positioned relative */
    right: 0%; /* Align the container to the right */
}

#alignment-summary table {
    width:100%;
	margin: 0; /* Remove default margins */
}

.alignment-summary-header {
text-align:center;
display:block;
margin: 20px;
}

.template-materials-header {
margin-top:10%;
}

#alignment-summary table th, #alignment-summary table td {
    padding: 10px; /* Adjust padding as needed */
    text-align: left; /* Default left alignment */
}

/* Specific Column Widths for Alignment Summary */
#alignment-summary table th:nth-child(1),
#alignment-summary table td:nth-child(1) {
    width: 180px; /* Set specific width for the first column */
}

#alignment-summary table th:nth-child(3),
#alignment-summary table td:nth-child(3) {
    width: 120px; /* Set specific width for the third column */
}

#alignment-summary table th:nth-child(4),
#alignment-summary table td:nth-child(4) {
    width: 25px; /* Set specific width for the third column */
}

#alignment-summary table th:nth-child(6),
#alignment-summary table td:nth-child(6) {
    width: 25px; /* Set specific width for the third column */
}



/* Styling for Template Materials Table */
#template-materials table {
    width: 100%; /* Set table width to 80% of its container */
margin-top:0%;
}

#template-materials table th, #template-materials table td {
    padding: 12px; /* Adjust padding as needed */
    text-align: right; /* Right alignment for this table */
}

/* Specific Column Widths for Template Materials */
#template-materials table th:nth-child(2),
#template-materials table td:nth-child(2) {
    width: 150px; /* Set specific width for the second column */
}

/* Styling for Bridge Report Table */
#bridge-report table {
    width: 100%; /* Set table width to 70% of its container */
}

#bridge-report table th, #bridge-report table td {
    padding: 10px;
    text-align: center; /* Center alignment for this table */
}

/* Specific Column Widths for Bridge Report */
#bridge-report table th:nth-child(4),
#bridge-report table td:nth-child(4) {
    width: 270px; /* Set specific width for the fourth column */
}

/* Styling for Tunnel Report Table */
#tunnel-report table {
    width: 100%; /* Set table width to 90% of its container */
}

#tunnel-report table th, #tunnel-report table td {
    padding: 8px;
}

/* Specific Column Widths for Tunnel Report */
#tunnel-report table th:nth-child(3),
#tunnel-report table td:nth-child(3) {
    width: 180px; /* Set specific width for the third column */
}

/*
#total-project-textcontainer {
position:absolute;
width:25%;
height:auto;
right:3%;
top:5%;
background-color: rgba(0,0,0,0.14);
border-radius:10px;
padding:25px;
}

#total-project-textcontainer p {
color:black;
}

#total-project-textcontainer h3 {
color:black;
font-size:28pt;
}

#total-project-textcontainer h4 {
color:black;
font-size:18pt;
}
*/

	#total-project-textcontainer {
    position: relative;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9); /* Light background with more opacity */
    border-radius: 15px; /* Smooth rounded corners */
    padding: 20px 30px; /* Balanced padding around content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for a floating effect */
    backdrop-filter: blur(10px); /* Optional: Adds a blur effect to background (modern look) */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Optional: Light border for better visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for hover effects */
}


#total-project-textcontainer p {
    color: #333; /* Softer black for better readability */
    line-height: 1.6; /* Improved line spacing for readability */
    font-size: 16px; /* Slightly larger font size for better legibility */
    margin-bottom: 10px; /* Space between paragraphs */
}

#total-project-textcontainer h3 {
    color: #222; /* Darker color for emphasis */
    font-size: 24pt; /* Slightly smaller for a balanced look */
    margin-bottom: 10px; /* Space below the heading */
    font-weight: 700; /* Bolder font weight for prominence */
    letter-spacing: 0.5px; /* Slight spacing between letters for clarity */
}

#total-project-textcontainer h4 {
    color: #555; /* Softer color to differentiate from h3 */
    font-size: 18pt; /* Same size as before, but reduced in comparison to h3 */
    margin-bottom: 15px; /* Space below subheading */
    font-weight: 600; /* Semi-bold for emphasis */
    letter-spacing: 0.4px; /* Slight spacing for a cleaner look */
}

        #sub-project-textcontainer {
    position: relative;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9); /* Light background with more opacity */
    border-radius: 15px; /* Smooth rounded corners */
    padding: 20px 30px; /* Balanced padding around content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for a floating effect */
    backdrop-filter: blur(10px); /* Optional: Adds a blur effect to background (modern look) */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Optional: Light border for better visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for hover effects */
    display:none;
}





#sub-project-textcontainer p {
    color: #333; /* Softer black for better readability */
    line-height: 1.6; /* Improved line spacing for readability */
    font-size: 16px; /* Slightly larger font size for better legibility */
    margin-bottom: 10px; /* Space between paragraphs */
}

#sub-project-textcontainer h3 {
    color: #222; /* Darker color for emphasis */
    font-size: 24pt; /* Slightly smaller for a balanced look */
    margin-bottom: 0px; /* Space below the heading */
    font-weight: 700; /* Bolder font weight for prominence */
    letter-spacing: 0.5px; /* Slight spacing between letters for clarity */
    line-height:1;
}

#sub-project-textcontainer h4 {
    color: #555; /* Softer color to differentiate from h3 */
    font-size: 18pt; /* Same size as before, but reduced in comparison to h3 */
    margin-bottom: 15px; /* Space below subheading */
    font-weight: 600; /* Semi-bold for emphasis */
    letter-spacing: 0.4px; /* Slight spacing for a cleaner look */
    margin-top:10px;
}





#excelDataDisplayContainer {
    flex: 1.5; /* Makes the table take up more space than the checkboxes */
}

/* Table styling */
#excelDataDisplay {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 9pt;
    margin-top: 10px;
}

#excelDataDisplay thead th {
    background-color: #a8a8a8;
    color: white;
    padding: 10px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#excelDataDisplay tbody tr {
    border-bottom: 1px solid #ddd;
}

#excelDataDisplay tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#excelDataDisplay tbody tr:hover {
background-color: #74b2e9;
    transition: background-color 0.3s ease; /* Smooth transition */


}

#excelDataDisplay td, #excelDataDisplay th {
    padding: 4px 4px;
    text-align: left;
}


#excelDataDisplay th:nth-child(1), table td:nth-child(1){
width:150px;

}
#excelDataDisplay th:nth-child(2), table td:nth-child(2) {
width:40px;
}
#excelDataDisplay th:nth-child(3), table td:nth-child(3) {
width:40px;
}

#excelDataDisplay th:nth-child(4), table td:nth-child(4){
width:40px;

}






.input-data-header {
text-align:center;
}

#input-data-popup-content h2 {
    margin: 20px 0;
    font-size: 18px;
    color: #444;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}


#input-data-popup-content table {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
    table-layout: fixed;
}

#input-data-popup-content th, 
#input-data-popup-content td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
}

#input-data-popup-content th {
    background-color: #f9f9f9;
    font-weight: bold;
    text-transform: uppercase;
}

#input-data-popup-content tr:nth-child(even) {
    background-color: #f6f6f6;
}

#input-data-popup-content tr:hover {
    background-color: #f1f1f1;
}

#input-data-popup-content td[colspan] {
    background-color: #e0e0e0;
    font-weight: bold;
    text-align: left;
    font-size: 1.2em;
}

#input-data-popup-content td:first-child {
    font-weight: bold;
    color: #333;
        width: 300px;
}
#input-data-popup-content td:nth-child(2) {
    color: #333;
        width: 100px;
}
#input-data-popup-content td:nth-child(3) {
    color: #333;
        width: 100px;
}
#input-data-popup-content td:nth-child(4) {
    color: #333;
        width: 100px;
}
#input-data-popup-content td:nth-child(5) {
    color: #333;
        width: 100px;
}
#input-data-popup-content td:nth-child(6) {
    color: #333;
        width: 100px;
}
#input-data-popup-content td:nth-child(7) {
    color: #333;
        width: 100px;
}






















/* Mobile Styles for screens 768px and below */
@media only screen and (max-width: 768px) {


body, html {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width:100%;
}

.mainContainer {
    overflow-x: hidden; /* Ensure the main container does not overflow horizontally */
}


.alignment-summary-header {
top:45%;
z-index:10;
right:auto;

}

    /* Adjust the map container */
    #map {
        width: 95vw; /* Full width of the viewport */
        height: 30vh; /* Adjust height for mobile */
        margin-bottom: 10px; /* Space between map and next element */
        margin: 0 auto; /* Center the map container */
	margin-left:-5px;
    }

    /* Ensure the #alignment-summary table is displayed below the map */
    #alignment-summary {
        width: 95%; /* Full width on mobile */
        position: relative; /* Remove absolute positioning */
        right: auto; /* Reset right positioning */
        top: auto; /* Reset top positioning */
        margin: 0 auto 20px auto; /* Center and add space below */
    }

    /* General adjustments for table containers */
    .data-table-container {
        width: 95%; /* Full width of the screen */
        margin: 10px auto; /* Space between tables */
    }

    /* Ensure tables have scroll for smaller screens */
    table {
        display: block; /* Enable scrollable table */
        width: 80%; /* Make table occupy full width */
        overflow-x: auto; /* Horizontal scroll */
        white-space: nowrap; /* Prevent text wrapping in cells */
        font-size: 8px; /* Smaller font size for readability */
        margin: 0 auto; /* Center tables */
    }

    /* General adjustments for table headers and cells */
    table th, table td {
        padding: 8px; /* Smaller padding for compact view */
        text-align: center; /* Center-align text for better readability */
        border: 1px solid rgba(0,0,0,0.1); /* Border for visual separation */
	font-size:8px;
    }

    /* Center and stack elements */
    .mainContainer, .table-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center content horizontally */
	width:100%;
	padding:0;
    }

#template-materials, #bridge-report, #tunnel-report table {
width:100%;
left:0px;
}

    /* Center text container */
    #total-project-textcontainer {
        width: 90%; /* Full width on small screens */
        position: relative; /* Adjust position */
        right: auto; /* Reset right positioning */
        top: auto; /* Reset top positioning */
        margin: 10px auto; /* Center the text container */
        padding: 15px; /* Additional padding for better appearance */
    }

    /* Adjust the select dropdown for better appearance */
    .select-container {
        width: 100%; /* Full width on mobile */
        text-align: center; /* Center the dropdown */
    }

    /* Hide elements if needed on mobile */
    .hide-on-mobile {
        display: none; /* Hide unnecessary elements */
    }

    /* Flex container adjustments for proper alignment */
    .checkbox-container {
        justify-content: space-around; /* Space out the items evenly */
        width: 100%; /* Full width of the container */
    }

    /* Style adjustments for smaller screen */
    .checkbox-label {
        margin: 10px 20px; /* Compact spacing */
    }
}




@media only screen and (max-width: 1200px) {
    .data-table-container {
        width: 90%; /* Full width on medium screens */
    }
}
