:root{
    --bs-body-color: #333;
    --bs-primary-rgb: 61, 102, 120;
}
.invoices-table thead tr th,

.invoices-table tbody tr td{

     padding: 10px 5px;

    font-size: 11px;

    font-weight: 500;

}
.min-h-100{
    min-height: 100%;
}

.invoices-table tbody tr td{

    line-height: 1.2;

    font-weight: 500;

    color: #333;

}

.invoices-table thead tr th{

    white-space: nowrap;

}

.invoices-table .btn{

    font-size: 10px !important;

    padding: 5px 5px;

}

#invoiceForm .text-muted {

    --bs-text-opacity: 1;

    color: #a7aeb8 !important;

    font-size: 10px;

    line-height: 1.1;

    display: block;

    margin-top: 4px;

}

.datepicker table tr td.day.focused, .datepicker table tr td.day:hover {

    background: #a7c13d;

    cursor: pointer;

    color: #fff;

}

.datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active.disabled:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active:active, .datepicker table tr td.active:hover, .datepicker table tr td.active:hover.active, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active:hover:active, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active[disabled]{

    background: #2b586c;

}

.datepicker.datepicker-dropdown.dropdown-menu{

    background: #fff;

    padding: 12px;

    z-index: 1041 !important;

}

.datepicker td{

    border: 1px solid #eee !important; 

        font-size: 13px;

    padding: 7px 10px;

    border-radius: 0px !important;

}

.datepicker .dow{

    font-size: 13px;

    padding: 6px 10px;

    background: #2b586c;

    border-radius: 0;

    border: 1px solid #1e4455;

    color: #fff;

}

.datepicker .datepicker-switch{

    font-size: 13px;

    padding: 6px 10px;

    background: none !important;

    color:#2b586c;

}

.datepicker .prev,

.datepicker .next{

    font-size: 16px;

    padding: 6px 10px;

    background: none !important;

    color: #1e4455;

}

.invoices-list tobdy tr{

	background: #fffdee; 

}



@media screen and (max-width: 1200px){

    #invoiceForm .form-label{

        margin-bottom: 0.30rem;

        font-size: 13px;

        letter-spacing: -0.3px;

        line-height: 1.1;

    }

}



.bg-soft-yellow {

  background-color: rgba(255, 250, 221, 1) !important; /* 25% opacity */

}



.bg-soft-green {

  background-color: rgba(244, 255, 231, 1) !important; /* 25% opacity */

}

.site-brand{
    display: block;
    width: 170px;
    max-width: 40%;
}


#datatable{
    font-weight: 400;
    font-size: 14px;
}
#datatable td{
    padding: 6px 7px;
        align-content: center;
}
.error-validation{
    font-size: 12px;
    color: #d21c1c;
    display: block;
    line-height: 1;
}
.fs-12{
    font-size: 12px;
}
.fs-13{
    font-size: 13px;
}.fs-14{
    font-size: 14px;
}
.buyer-reg .select2.select2-container{
    max-width: calc(100% - 38px);
}
button[data-submit-fbr-view]{
    position: relative;
}
.btn-loading{
    position: relative;
}
.btn-loading:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #000;
    border-top: 3px solid #fff;
    background: rgba(242, 242, 242, 0.6);
    box-shadow: 0px 0px 43px 1px rgba(254, 254, 254, 0.48);
    -webkit-box-shadow: 0px 0px 43px 1px rgba(254, 254, 254, 0.48);
    -moz-box-shadow: 0px 0px 43px 1px rgba(254,254,254,0.48);
    animation: spin 1s linear infinite;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.invoice-details{
 overflow: auto !important;
 -webkit-overflow-scrolling: touch;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
}
.invoice-details table{
    min-width: 850px;
}
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.justify-space-between{
    justify-content: space-between;
}

/* Invoice view - match screenshot design */
.invoice-view-document {
    font-size: 14px;
    color: #111827;
}

.invoice-view-document h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.invoice-view-document h3,
.invoice-view-document .h5 {
    font-size: 1.05rem;
    font-weight: 600;
}

.invoice-view-document .invoice-main-info span {
    line-height: 1.3;
    font-size: 0.9rem;
}
.invoice-main-info{
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.invoice-main-info.about-buyer{
     gap: 2px;
}
.invoice-main-info.about-buyer span{
    font-size: 0.8rem;
    color: #7a7a7a;
}
.invoice-view-document .invoice-main-info strong {
    font-weight: 600;
}

.invoice-view-document .invoice-details th {
    font-size: 0.9rem;
    font-weight: 600;
}

.invoice-view-document .invoice-details td {
    font-size: 0.9rem;
    font-weight: 400;
}

.invoice-view-document .border-top span {
    font-weight: 600;
}

.invoice-view-document .border-top strong {
    font-weight: 700;
    font-size: 1.2rem;
}
.invoice-details td,
.invoice-details th{
    font-size: 13px !important;  
    vertical-align: middle; 
}
.invoice-details td{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}
#alertnotification:empty{
    display: none;
}
.table-responsive{
    overflow: auto !important;
}
.buyer-fields-container .select2-container{
    width: 100% !important;
}

@media screen and (max-width: 667px){
    .invoice-main-info.about-buyer{
        text-align: left;
    }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media only screen and (max-width: 420px) {
.site-brand .logo{
width: 130px;
}
}
