.single-line-info {
    display: flex;
    flex-wrap: nowrap;
    /* keep everything in one line */
    gap: 2rem;
    /* spacing between each info block */
    align-items: center;
    align-content: center;
    margin-bottom: 15px;
}
/* Spinner and text wrapper */
.loading-box {
  display: flex;
  align-items: center;
  gap: 12px; /* spacing between spinner and text */
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* light transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

/* Spinner style */
.custom-spinner {
  width: 3rem;
  height: 3rem;
  border-width: 0.35rem;
}

/* Loading text */
.loading-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.single-line-info>div {
    display: flex;
    /* label and span inline */
    align-items: center;
    /* vertically align label & span */
    white-space: nowrap;
    /* prevent breaking inside each block */
}

.control-label1 {
    margin-right: 0.5rem;
    /* space between label and span */
    flex-shrink: 0;
    /* label doesn't shrink */
    margin-bottom: 0;
    font-weight: 600;
}

.text-wrap {
    white-space: nowrap;
    /* no word break in span */
    flex-shrink: 0;
    /* span doesn't shrink */
}

iframe {
    display: block;
    /* iframes are inline by default */
    background: #fff;
    border: none;
    /* Reset default border */
    height: 300px;
    /* Viewport-relative units */
    width: 100%;
    overflow: hidden;
}

iframe body,
iframe html {
    overflow: hidden;
}

.form-group .control-label {
    font-size: 13px;
    text-align: right;
    font-weight: 500;
}

.btn-group-all .btn-sm {
    margin-right: 10px;
}

.btn-group-all {
    margin-bottom: 15px;
}

.modal-title span {
    margin-right: 7px;
}

.modal-body .btn {
    margin-right: 10px;
}

/* FACEBOOK LOADER */
.loader1 {
    width: 32px;
    height: 32px;
}

.table1 {
    background-color: #fff;
    max-width: calc(100% - 2em);
    left: 0;
    border: initial;
    border: 1px solid #ddd;
}

.table-container {
    max-height: 400px;
    /* Define the max height for scrolling */
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.th1 {
    width: auto;
    text-align: center;
    white-space: nowrap;
    padding-right: 20px;
    padding-left: 20px;
    height: 30px;
}

.td1 {
    word-wrap: break-word;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.form-horizontal .checkbox,
.form-horizontal .checkbox-inline,
.form-horizontal .radio,
.form-horizontal .radio-inline {
    padding-top: 0px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Initial state */
.bar1 {
    background-color: #7f7f7f;
    border: 1px solid #333;
    float: left;
    margin-right: 4px;
    margin-top: 6px;
    width: 6px;
    height: 18px;
    /* Set the animation properties */
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-name: loadingbar1;
}

/* Delay both the second and third bar at the start */
.loader1 .bar1:nth-child(2) {
    animation-delay: 0.1s;
}

.loader1 .bar1:nth-child(3) {
    animation-delay: 0.2s;
}

.table-container {
    height: 300px;
    /* Set the height of the table container */
    overflow-y: auto;
    /* Allow vertical scrolling */
    position: relative;
}

/* Sticky header */
.sticky-header th {
    position: sticky;
    top: 0;
    background-color: #fff;
    /* Ensures the background stays white */
    z-index: 1;
    /* Ensures the header stays above the table rows */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: Adds a shadow effect for better visibility */
}

/* The actual animation */
@keyframes loadingbar1 {
    0% {}

    10% {
        margin-top: 5px;
        height: 22px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    20% {
        margin-top: 0px;
        height: 32px;
        border-color: #d1d7e2;
        background-color: #c6ccda;
    }

    30% {
        margin-top: 1px;
        height: 30px;
        border-color: #d1d8e6;
        background-color: #bac5db;
    }

    40% {
        margin-top: 3px;
        height: 26px;
    }

    50% {
        margin-top: 5px;
        height: 22px;
    }

    60% {
        margin-top: 6px;
        height: 18px;
    }

    70% {}

    /* Missing frames will cause the extra delay */
    100% {}
}

.custom-header{
background:#2c5891;
color:white;
border-bottom:none;
}

.icon-circle{
width:70px;
height:70px;
border-radius:50%;
background:#e8f0fb;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
font-size:28px;
color:#2c5891;
}

.push-btn{
background:#2c5891;
border:none;
}

.push-btn:hover{
background:#1f4170;
}

.custom-modal{
border-radius:10px;
overflow:hidden;
}

/* smooth animation */
.modal.fade .modal-dialog{
transform:scale(0.85);
transition:all 0.25s ease;
}

.modal.show .modal-dialog{
transform:scale(1);
}