/*full width of page*/
.full-width {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link .nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 13px;
}


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*Buttons style*/
.btn_size {
    width: 100px;
    height: 30px;
    font-size: 0.99rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    padding: 0 !important;
}
.btn_wide {
    width: 200px; /*override */
}
.btn_other {
    height: 30px;
    font-size: 0.99rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    padding: 1px 20px !important;
}
/* Full-screen overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.70); /* Semi-transparent black/grey */
    z-index: 9999; /* Ensures it stays on top of everything */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Optional: Disable scrolling while overlay is active */
body.loading-active {
    overflow: hidden;
}

/* Input width */
.Span_Width {
    width: 170px;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Select2 single select ko Bootstrap input ke barabar height dena */
.select2-container--default .select2-selection--single {
    height: 38px; /* Bootstrap default input height */
    padding: 6px 12px; /* Bootstrap input padding */
    border-radius: 0.25rem; /* Same as Bootstrap */
    border: 1px solid #ced4da; /* Same as Bootstrap */
}
/* Dropdown options list height */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 150px; /* Set your desired dropdown height */
    overflow-y: auto; /* Scroll if options exceed height */
}


/* Required field asterisk */
.form-label.required::after {
    content: " *";
    color: red;
    border-color: red;
}

/* Hide validation summary when no errors */
.validation-summary-valid { 
    display: none;
}

/* Show when errors exist */
.validation-summary-errors {
    display: block;
}

/* Target Bootstrap checkboxes when they are disabled */
.form-check-input:disabled {
    background-color: #f8d7da !important; /* Light red background */
    border-color: #dc3545 !important; /* Darker red border */
    opacity: 1; /* Bootstrap usually reduces opacity; 1 keeps it vivid */
}

/* Input validation */
input.valid {
    border: 1px solid #ced4da;
}


.tahoma-text {
    font-family: Tahoma, sans-serif;
    font-size: 15px;
}

.offcanvas-end {
    width: 400px !important; /* change 500–700 as per need */
}

.service-item {
    font-size: 18px; /* bigger text */
    font-weight: 610;
    padding: 18px 20px; /* spacing */
    cursor: pointer;
    transition: all 0.3s ease;
    border: none; /* yahi add karna hai */
    background-color: #fdba74; /* ?? very light orange */
}

    /* Hover effect */
    .service-item:hover {
        background-color: #f1f5ff;
        padding-left: 25px;
        color: #0d6efd;
    }