#disabledOverlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        cursor: not-allowed;
    }
    
    
    .file-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 15px;
    }

	.file-upload {
	    flex: 1 1 calc(25% - 12px);
	    display: flex;
	    flex-direction: column;
	    padding: 6px;
	    border: none;
	    background: transparent;
	    font-size: 13px;
	}

    .file-upload label {
        font-weight: bold;
        font-size: 13px;
        margin-bottom: 3px;
    }

    .file-upload input[type="file"] {
        font-size: 12px;
    }

    .file-preview-container {
        margin-top: 6px;
        text-align: center;
    }

    .file-preview-container img,
    .file-preview-container embed {
        max-width: 100%;
        max-height: 130px;
        border: 1px solid #aaa;
        border-radius: 4px;
    }

    @media (max-width: 768px) {
        .file-upload {
            flex: 1 1 calc(50% - 12px);
        }
    }

    @media (max-width: 480px) {
        .file-upload {
            flex: 1 1 100%;
        }
    }
    
    .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-top: 6px;
}

.radio-group label {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.radio-group input[type="radio"] {
    transform: scale(1.3);
    cursor: pointer;
}
    
.form-horizontal .form-group {
    margin-right: 0px;
    margin-left: -25px;
}

.form-control {
  border-radius: 15.5px;
}
.col-md-2 {
    width: 16.66666667%;
    margin-right: -10px;
}
.col-md-1 {
   width: 9.5%;
   margin-right: -10px;
}
.col-md-3 {
   margin-right: -10px;
}

.btn-yellow {
    background-color: #d84f4f !important;
    color: #ffffff !important;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.blue {
    background-color: #116ed5 !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}


.addRowBtn:disabled,
.addRowBtn.disabled-btn {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

body {
    background-image: url('../images/Landing-page.jpg'); /* Adjust the path if needed */
    background-size: cover;
    background-position: center center;;
    background-attachment: fixed;
    overflow-x: hidden; /* Hides horizontal scrollbar */
    overflow-y: auto; /* Keeps vertical scrollbar */
}

/* Center the header content */
 .header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
} 
.version-number {
    position: absolute;
    top: 6px;
    right: 20px;
    font-size: 10px;
    color: #090909;
    font-weight: bold;
}

/* Logo container */
.logo-container {
    width: 100px; /* Adjust size as needed */
    height: 100px;
    background-image: url('../images/logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply; /* Removes white background */
}

/* Company Name Styling */
.company-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    font-family: Arial, sans-serif;
}
/* For web view (desktop) */
@media screen and (min-width: 769px) {
    .header {
        flex-direction: row; /* Keep logo and company name in one row */
        justify-content: center; /* Align items to the left (but keep them centered overall) */
        margin-left: -250px; /* Adds space between the left edge and the header */
    }

    .company-name {
   	    color: #2970d0;
        font-size: 28px; /* Large font size */
        text-align: center; /* Align company name to the left */
    }

    .logo-container {
        width: 100px; /* Logo size for desktop */
        height: 100px;
        margin-right: 20px; /* Space between the logo and the company name */
    }

}

/* For medium screens (14-inch laptops) */
@media screen and (max-width: 1280px) {
    .col-md-2 {
        width: 20%; /* Increase width a bit to adjust */
        margin-right: -8px;
    }

    .col-md-1 {
        width: 12%; /* Adjust to fit the screen */
        margin-right: -8px;
    }

    .col-md-3 {
        margin-right: -8px;
    }

    .form-control {
        width: 90%; /* Adjust form controls width */
    }
}


/* For mobile view (max-width: 768px) */
/* Mobile-specific Styles (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Header styling for mobile */
    .header {
        text-align: center; /* Center content for mobile */
        flex-direction: column; /* Stack logo and company name vertically */
        margin-left: 0; /* No left margin */
        padding: 15px; /* Padding adjustment */
    }

    /* Logo styling on mobile */
    .logo-container {
        width: 80px; /* Adjust logo size for mobile */
        height: 80px;
        margin-bottom: 10px; /* Space between logo and company name */
        background-image: url('../images/logo.jpg'); /* Path to your logo */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* Company name styling on mobile */
    .company-name {
        font-size: 18px; /* Smaller font size for mobile */
        color: #333;
        font-weight: bold;
        font-family: Arial, sans-serif;
        text-align: center; /* Center align text */
        margin-top: 10px; /* Adjust spacing */
    }

    /* Grey text for "(Govt. of GOA Undertaking)" and "KTCL PASS SYSTEM" */
    .transparent-text {
        opacity: 0.7; /* Semi-transparent text */
        font-size: 14px; /* Smaller font size for mobile */
        color: grey;
    }

    /* Adjust form group for mobile */
    #preview_details_data .form-group {
        display: block; /* Stack form fields vertically */
        margin-bottom: 20px;
    }

    /* Adjust form inputs for mobile */
    #preview_details_data .form-group input {
        width: 100%; /* Full width inputs */
        margin-top: 10px; /* Add some space between input and label */
    }

    /* Adjust modal content for mobile */
    #confirmationModal .modal-body {
        padding: 20px;
    }

    /* Adjust table on mobile */
    #mytable {
        table-layout: auto; /* Auto table layout for mobile */
        width: 100%; /* Ensure table fills the available width */
    }

    /* Mobile table cell adjustments */
    #mytable th, #mytable td {
        padding: 10px; /* Add more padding for readability */
        text-align: left; /* Align table content to the left */
        font-size: 14px; /* Adjust font size for mobile */
    }

    /* Make table scrollable if needed */
    #RouteData {
        overflow-x: auto;
    }
}
/* Adjust fieldset on mobile */
@media screen and (max-width: 768px) {
    fieldset {
        margin-left: 10px; /* Slightly move the fieldset to the left */
        padding-left: 20px;
    }
        /* Adjusting the Form and Fields on Mobile */
    .form-horizontal .form-group {
        margin-left: 0;
        margin-right: 0;
    }

    .col-md-5, .col-md-3, .col-md-2 {
        width: 100%; /* Ensure fields take up full width */
    }

    .form-control {
        width: 100%; /* Ensure form controls take full width */
        padding: 10px; /* Add padding for better touch targets */
        font-size: 16px;
    }

    .error-message {
        text-align: center;
        font-size: 16px;
    }

    .container {
        padding: 0 10px; /* Add padding to the container for spacing */
    }
	

}
/* Adjust fieldset on mobile */
@media screen and (max-width: 768px) {
    /* Fieldset styling */
    fieldset {
        width: 100% !important; /* Make sure the fieldset takes the full width */
        margin: 0; /* Remove any margin */
        padding: 15px; /* Padding for better spacing inside the fieldset */
        border: 2px solid cadetblue; /* Keep the border */
        border-radius: 8px; /* Keep rounded corners */
        background-color: rgb(249, 249, 249); /* Ensure background is visible */
        box-sizing: border-box; /* Make sure padding doesn't affect the width */
    }

    /* Adjusting the legend inside the fieldset */
    fieldset legend {
        width: 100%; /* Ensure the legend takes the full width */
        text-align: center; /* Center the legend text */
        font-size: 18px; /* Adjust the font size for mobile */
        padding: 0 10px; /* Add padding around legend */
        background-color: transparent; /* Transparent background */
    }

    /* Adjusting the form layout inside fieldset */
    #bus_route .form-group {
        display: block; /* Stack the form fields vertically */
        margin-bottom: 15px; /* Add space between form fields */
    }

    /* Adjusting form inputs to take full width on mobile */
    #bus_route .form-group input,
    #bus_route .form-group select {
        width: 100% !important; /* Ensure inputs and selects take full width */
        padding: 10px; /* Provide enough padding for touch devices */
        font-size: 16px; /* Set a readable font size */
        margin-top: 10px; /* Add some space between input and label */
        border-radius: 15px; /* Rounded corners for inputs */
        border: 2px solid #ccc; /* Soft border around inputs */
    }
    
        .container {
        padding: 0 15px; /* Add padding to ensure content doesn't touch screen edges */
    }

    /* Adjusting label styles for better visibility */
    #bus_route .form-group label {
        font-size: 16px; /* Make label font smaller */
        font-weight: bold; /* Make label bold */
        margin-bottom: 5px; /* Space between label and input */
    }

    /* Adjust buttons to take full width on mobile */
    .btn-yellow,
    .blue {
        width: 100% !important; /* Make buttons take full width */
        padding: 15px; /* Add padding to buttons for better touch interaction */
        font-size: 16px; /* Larger font size */
        margin-top: 15px; /* Add space between form and button */
    }

    /* Remove extra space around the container */
    .container {
        padding: 0 10px; /* Padding adjustment */
    }

    /* Make the table responsive */
    #mytable {
        width: 100% !important; /* Table takes full width */
        table-layout: auto; /* Allow table layout to adjust */
    }

    /* Make sure the table cells are readable on mobile */
    #mytable th, #mytable td {
        padding: 10px; /* Increase padding for readability */
        font-size: 14px; /* Adjust font size for better view */
        text-align: left; /* Left-align text in table cells */
    }

    /* Ensure select2 dropdown is full width */
    .select2-container {
        width: 100% !important;
    }
}

    
    


#mytable {
    table-layout: fixed;
    width: 100%;
    background-color: aliceblue;
}

#mytable th, #mytable td {
    text-align: center;
    padding: 8px;
    vertical-align: middle;
    white-space: nowrap;
}

.select2-container {
    width: 100% !important;
    display: block !important;
}

#mytable select,
#mytable input[type="text"] {
    width: 100% !important;
}

td .select2-container {
    width: 100% !important;
}

.select2-dropdown {
    position: absolute !important;
    z-index: 1050;  /* ✅ Keeps dropdown above other elements */
}

#mytable td img {
    width: 16px; /* Adjust as needed */
    height: 16px;
    cursor: pointer;
}

#mytable td:last-child, 
#mytable th:last-child {
    width: 40px ;
    text-align: center;
    padding: 2px;
    white-space: nowrap;
}

/* #LocalRouteData #mytable td:last-child,
#LocalRouteData #mytable th:last-child {
    width: 0px;
    text-align: center;
    padding: 2px;
    white-space: nowrap;
} */


.image-container {
    width: 150px;
    height: 150px;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden; /* Ensure anything outside the container is hidden */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.face-icon {
    width: 80px;
    height: 80px;
    background-image: url('https://img.icons8.com/ios/452/user-male-circle.png'); /* Placeholder face icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.file-input {
    margin-top: 161px;
}

.transparent-text {
    opacity: 0.5; /* Adjust value (0 is fully transparent, 1 is fully visible) */
}

.file-upload {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Space between file upload sections */
}

label {
    margin-right: 10px;
    font-weight: bold;
}

input[type="file"] {
    display: inline-block;
}

.preview-container {
    margin-left: 10px;
    color: #555;
}

.file-upload-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

h3.transparent-text {
    margin-left: 20px; /* Adjust this value to move it more or less to the right */
    font-size: 22px;  /* Optional: adjust font size as needed */
}
/* #mytable {
    width: 100%; Ensures the table fills the container
    table-layout: auto; Allows the table to adjust based on content
}

#mytable th, #mytable td {
    text-align: left; Ensures all table cells align text to the left
}

#mytable th:nth-child(6), #mytable td:nth-child(6) {
    width: 10%; Adjust the width of the 'Distance' column
}

#mytable th:nth-child(7), #mytable td:nth-child(7) {
    width: 10%; Adjust the width of the 'Amount' column
}

#mytable th, #mytable td {
    padding: 8px; Adds padding for better readability
} */

#RouteData {
    overflow-x: auto; /* Allows horizontal scrolling when necessary */
}
table {
    background-color: #f9f9f9c7;
}



/* For proper modal styling */
/* Modal content adjustments */
#confirmationModal .modal-dialog.modal-lg {
    max-width: 80%; /* Increase modal size */
}

#confirmationModal .modal-body {
    max-height: 60vh; /* Set the max height */
    overflow-y: auto; /* Make it scrollable */
}

/* Preview Fieldset Styling */
#preview_details_data {
    border: 2px solid cadetblue;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgb(249 249 249 / 0%);
}

/* Legend Styling */
#preview_details_data legend {
    font-size: 20px;
    color: #333;
    padding: 0 10px;
    background-color: transparent;
}

/* Form Group - Inline layout with margin between inputs */
#preview_details_data .form-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Form Field Styling */
#preview_details_data .form-group label {
    margin-right: 10px;
    font-weight: bold;
    width: 20%; /* Adjust label width */
}

#preview_details_data .form-group input {
    width: 75%; /* Adjust input width */
}

/* Adjust modal content for a clean layout */
#confirmationModal .modal-body p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Optional: Close button customization */
#confirmationModal .modal-header .close {
    font-size: 25px;
    text-align: center; 
}

#confirmationModal .modal-footer {
    display: flex;
    justify-content: center;  /* Center the buttons horizontally */
    gap: 10px; /* Optional: add space between buttons */
}

/* Center the modal title */
#confirmationModal .modal-header h3 {
    text-align: center;  /* Center the text horizontally */
    width: 100%;          /* Ensure it takes the full width */
    margin: 0;            /* Remove any default margin */
}

