/*================================================================================
	Item Name: Modern Admin - Clean Bootstrap 4 Dashboard HTML Template
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */


.usa-flag-bg {
    background-color: #1e3a8a;
}

#invoice-items-details .table td,
#invoice-items-details .table th {
    vertical-align: middle;
}

#invoice-items-details .card {
    border-radius: 12px;
}

#invoice-items-details .badge {
    font-size: 12px;
    padding: 6px 10px;
}

#invoice-items-details tfoot th {
    font-size: 18px;
}

.total-row{
    background:linear-gradient(135deg,#f8fafc,#f1f5f9);
}

.total-label{
    font-size:18px;
    font-weight:700;
}

.total-amount{
    color:#16a34a;
    font-size:24px;
    font-weight:800;
}

.currency{
    color:#64748b;
    font-size:12px;
}

.customer-body{
    padding:15px 20px;
}

.customer-name{
    font-size:18px;
    font-weight:700;
    margin-bottom:4px;
}

.customer-address{
    line-height:1.5;
    color:#64748b;
}

.invoice-info{
    background:#f8fafc;
    border-radius:10px;
    padding:12px 15px;
}

.invoice-info div{
    margin-bottom:0;
}

label.error,
small.error {
    display: block;
    width: 100%;
    margin-top: 5px;
    color: #dc3545;
    font-size: 12px;
    font-weight: 400;
}

.form-control.error {
    border-color: #dc3545;
}

.form-control.valid {
    border-color: #28a745;
}

.input-group + label.error,
.input-group + small.error {
    display: block;
}

@media (max-width:991.98px){

    .navbar-header{
        position:relative;
        width:100%;
        min-height:64px;
    }

    .navbar-header .nav{
        display:flex;
        align-items:center;
        justify-content:space-between;
        width:100%;
    }

    .navbar-header .mobile-menu,
    .navbar-header .nav-item:last-child{
        width:50px;
        flex:0 0 50px;
        text-align:center;
    }

    .navbar-header .navbar-brand{
        position:absolute;
        left:50%;
        top:50%;
        transform:translate(-50%, -50%);
        margin:0;
        padding:0;
    }

    .navbar-header .brand-logo{
        height:34px;
        width:auto;
        display:block;
    }
    
     #navbar-mobile{
        background:#2f3640;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        z-index:999;
        padding:10px 15px;
    }

    #navbar-mobile .nav{
        display:block;
    }

    #navbar-mobile .nav-item{
        width:100%;
    }

    #navbar-mobile .nav-link,
    #navbar-mobile .nav-item span{
        color:#fff !important;
        padding:.75rem 0;
    }


}