.bg-desert{
    background-color: #d3ac54;
}

.text-info-target{
    color: #3e8fc5 !important;
    font-weight: 800;
}

.text-info-current{
    color: #44a18b !important;
    font-weight: 900;
}

.text-info-prev{
    color: #cb9547 !important;
    font-weight: 900;
}

.bg-soft-yellow{
    background-color: #ebcea3;
}

.alert-overlay {
    position: fixed;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1077;
    min-width: 319px;
    max-width: 580px;
    padding: 9px 40px 9px 10px; /* right padding increased for button */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    word-break: break-word;
    /* color:rgb(32, 87, 132); 
    background-color:rgb(162, 189, 224); */
}

.alert-overlay .btn-close {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    /* color:rgb(32, 87, 132); */
}

.pagination {
    font-size: 0.875rem;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 0.5rem; /* Optional: spacing between items */
    margin-top: 1rem;
}
#client-autocomplete-list {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    background: white;
    z-index: 1000;
    width: 100%;
}

#client-autocomplete-list div {
    padding: 8px;
    cursor: pointer;
}

#client-autocomplete-list div:hover {
    background-color: #f0f0f0;
}








/* Invoice Box: border and background around invoice details only */
.invoice-main-data {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 12px;
    background-color:rgb(209, 221, 233);
    box-shadow: 0 2px 8px rgb(0 123 255 / 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* Invoice rows layout */
.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

/* First row: stronger style */
.first-row {
    font-weight: 600;
    color: #004085;
}

/* Second row: subtle top border and padding */
.second-row {
    color: #212529;
    font-weight: 500;
    border-top: 1px solid #cce5ff;
    padding-top: 8px;
}


/* Each cell inside rows */
.invoice-row div {
    flex: 1;
    text-align: center;
    border-left: 1px solid #cce5ff;
    padding: 0 10px;
}

/* Remove left border and left-align first cell */
.invoice-row div:first-child {
    border-left: none;
    text-align: left;
}

/* Transactions container with vertical blue line connecting to invoice */
.transactions-list {
    margin-left: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #47bcb5;
    margin-top: 12px;
}

/* Each transaction item - no box, just spacing and text */
.transaction-item {
    margin-bottom: 12px;
    padding-left: 10px;
    position: relative;
    font-size: 14px;
    color: #212529;
    background: none;
    border-left: none;
}

/* Horizontal line connecting vertical line to each transaction */
.transaction-item::before {
    content: '';
    position: absolute;
    top: 15px;
    /* left: -20px;
    width: 20px; */
    left: -45px;
    width: 45px;
    height: 2px;
    background-color: #47bcb5;
}


.transaction-item{
    /* border: 1px solid #0e837c; */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 12px;
    background-color: #e4ebe3;
    box-shadow: 0 2px 8px rgb(0 123 255 / 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

@media (max-width: 575.98px) {
    /* Hide elements */
    .message-list li .col-mail-1, .form-check,
    .message-list li .col-mail-2 .badge.status-badge,
    .message-list li .col-mail-2 button,
    .message-list li .col-mail-2 select {
      display: none !important;
    }
  
    /* Override col-mail-1 spacing completely */
    /* .message-list li .col-mail-1 .form-check {
      width: 0 !important;
      max-width: 2px !important;
      min-width: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
      overflow: hidden !important;
      display: none !important; 
    } */

    .message-list li .col-mail-1 {
        padding-left: 10px !important;
        margin: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* Optional: remove checkbox spacing inside col-mail-1 */
    .message-list li .col-mail-1 .form-check {
        display: none !important;
    }

    .message-list li .col-mail-1 .title {
        left: 0 !important;
        width: 55px !important;
    }

    .message-list li .col-mail-2 {
        position: absolute;
        top: 0;
        left: 70px;
        right: 0;
        bottom: 0;
    }
}
  