/* Apply Poppins font globally */
body, html {
    font-family: 'Poppins', sans-serif !important;
}
.exportExcel{
background: green;
color: #fff;
border-radius: 15px;
line-height: 15px;
font-size: 13px;
position: absolute;
right: 14px;
top: 7px;
}
.exportExcel:hover{
    background: green;
    color: #fff;
    border-radius: 15px;
    line-height: 15px;
    font-size: 13px;
    }

.back{
background:red;
color: #fff;
border-radius: 15px;
line-height: 15px;
font-size: 13px;
position: relative;
    top: -10px;
}
.countDiv{
    position: relative;
}
.count{
    background: #ffc107;
    width: 55px;
    height: 35px;
    border-radius: 25px;
    text-align: center; 
    /* font-size: 15px; */
    position: absolute;
    top: -30px;
    right: 0px;
    color: #000;
    font-weight: bold;
}
.Cheading {
    font-weight: bold;
    color: #ea0029;
    margin-bottom: 15px;
    margin-top:15px;
}
.box{
    color: #fff;
    padding: 20px;
    display: none;
    margin-top: 20px;
}

.hidden_div{
    display: none;
}
.hidden_div1{
    display: none;
}
/* .selectt {
    display: none;
} */

.ipadT{
    background: #ea0029 !important;
    padding: 5px 40px;
    font-size: 20px;
    margin: 10px 0px;
    width: 100%;
    color: #fff;
}
label {
    font-weight: bold;
    font-size: 14px;
}
.row{
    margin-bottom: 15px;
}
.removeDiv{
    display: none;
}


.hide{
    display: none;
}
.display{
    display: block;
}
.was-validated .form-control:invalid, .was-validated .dataTable-input:invalid, .form-control.is-invalid, .is-invalid.dataTable-input {
    border-color: #f9d8db !important;}
.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
        color: #dc3545;
        font-weight: 500 !important;
    }
.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
        /*color: #198754;*/
        color: #000;
        font-weight: 500 !important;
    }
.was-validated .form-select:invalid, .was-validated .dataTable-selector:invalid, .form-select.is-invalid, .is-invalid.dataTable-selector {
        border-color: #f9d8db !important;
    }
    
    
    /* CMR styels  */

.CheadingCaps {
    font-weight: bold;
    color: #ea0029;
    margin-bottom: 15px;
    margin-top:15px;
    text-transform:uppercase;
}
    .tFuture{
        width: 25%;
    }

 @media only screen and (max-width: 600px) {
    .tFuture{
        width: 100%;
    }
    .form-check-inline {
        display: inline-block;
        margin-right: 1rem;
        width: 100%;
        margin-bottom:10px;
    }
}



.removeBtn{ background: #cc0000; color:#fff; border-radius: 10px;}
.custom-datepicker-icon {
    font-size: 16px;
    color: #8c8c8c;
    cursor: pointer;
    position: relative;
    left: 0px;
    top: 8px;
    z-index: 4;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-bottom-right-radius:3px;
    border-top-right-radius:3px;
  }
  .input-group-text {
    background-color: #f8f9fa;
}
.input-group input {
  border-top-right-radius: 10px;
  border-bottom-right-radius:10px;
}

.dependentForm{
    margin-bottom: -10px;
}
.table-hover tbody tr:hover {
    background-color: #f5f8ff !important;
}

.table th {
    font-weight: 600;
    color: #000;
}

.card-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.location-card {
    transition: transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.width-150{
    width: 150px !important;
}
/* Hide Do it by default */
/* .action-cell .do-it-btn {
    display: none;
} */

/* Show Do it ONLY if Generate Invoice exists */
/* .action-cell .generate-invoice + .do-it-btn {
    display: inline-block;
    margin-left: 6px;
} */

/* Default state */
.action-cell .do-it-btn {
    display: none;
}

.action-cell .do-it-text {
    display: inline-block;
    font-size: 13px;
    margin-left: 6px;
}

/* If Generate Invoice exists → show Do it, hide text */
.action-cell .generate-invoice + .do-it-btn {
    display: inline-block;
    margin-left: 6px;
}

.action-cell .generate-invoice + .do-it-btn + .do-it-text {
    display: none;
}
.customBadge{
    position: relative;
    top: -10px !important;
    right: 3px !important;
}


/* ==============================
   iPad / Tablet UI Refinements
   ============================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Overall container */
  .container {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  /* Section headings */
  .Cheading {
    font-size: 18px;
    margin: 28px 0 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #cc0000;
  }

  /* Rows spacing */
  .row {
    margin-bottom: 14px;
  }

  /* Labels */
  label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
  }

  /* Inputs & selects */
  .form-control,
  .form-select {
    padding: 6px 14px;
    font-size: 16px;
    border-radius: 6px;
  }

  /* Radios & checkboxes (tap friendly) */
  .form-check {
    margin-bottom: 10px;
  }

  .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
  }

  .form-check-label {
    font-size: 15px;
    padding-left: 6px;
  }

  /* Grouped question spacing */
  .eClient,
  .dependencyDiv,
  .spouseDiv,
  .Bnumber,
  .dBusiness,
  .canadaYes,
  .immigration,
  .prison {
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    margin-top: 12px;
  }

  /* Extra insurance block */
  #extraQuestion {
    padding: 20px;
    border-radius: 10px;
  }

  /* Submit button */
  .submit-outer {
    margin-top: 30px;
    padding-bottom: 40px;
    text-align: center;
  }

  .submit-outer .btn {
    padding: 14px 40px;
    font-size: 18px;
    border-radius: 30px;
  }
}

.text-limit-200 {
  max-width: 200px;
  white-space: nowrap;        /* Prevent text wrapping */
  overflow: hidden;           /* Hide extra text */
  text-overflow: ellipsis;    /* Show "..." */
  width: 200px;               /* Limit approximately 150 characters */
}

.datatable-bottom{
    margin-top: 20px;
}