/***********loader************/
/* The Modal (background) */
.modal_new {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    margin-left: 0px;
    left: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}
/* Modal Content */
.modal-contents {
    background-color: #fefefe;
    margin-left: 400px;
    padding: 31px;
    border: 1px solid #888;
    width: 30%;
}
.modal-headers {
display: flex;
justify-content: space-between;
align-items: center;
}
.close {
    font-size: 24px;
    cursor: pointer;
    color: red;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* Loader styling */
.origin_res, .dest_res {
    display: block;
    color: red;
    font-size: 11px;
    margin-bottom: -14px;
    width: 100px;
}
.mode_res {
color: black;
font-size: 12px;
line-height: 1.5;
display: block;
text-align: center;
width: 100%;
}
.mode_res table {
margin: 0 auto;
text-align: left;
}
.charge_breakup {
margin: 25px;
}
.charge_breakup table {
table-layout: fixed;
//width: 100%;         
}
.charge_breakup table tr td {
width: 192px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.gst_name {
    color: green;
    font-size: 10px;
}
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust the distance from the right edge */
    transform: translateY(-50%); /* Center it vertically */
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* To ensure the container has a relative position for the loader to align correctly */
.form-group {
    position: relative;
}
/***********loader************/
.container {
    max-width: 400px;
    margin: auto;
}
.form-container {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}
.form-group label {
    white-space: nowrap;
}
.form-control {
    flex-grow: 1;
}
.row-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
}
.submit-container {
    display: flex;
    justify-content: center;
}
.invalid-feedback {
    display: none;
    color: red;
}
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loading-overlay p {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333;
}
.spinner-container {
    text-align: center;
}
/* Add a border to make it bolder */
.form-check-input[type="checkbox"] {
    border: 2px solid #000; /* Adjust the border thickness and color */
}
.form-check-input[type="checkbox"].is-invalid {
    border-color: #dc3545;
}
.form-check-input[type="checkbox"].is-valid {
    border-color: #198754;
}
.terms_link
{
    color:black;
}