@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.calendar-icon {
    background: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/calendar3.svg') no-repeat right 0.75rem center;
    background-size: 1rem;
    padding-right: 2rem;
    cursor: pointer;
}

.form-control:focus,
.form-select:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none !important;
}

.btn:hover {
    color: #fff;
    background-color: #29BBFF;
    border-color: none;
}

#navbarNav ul.navbar-nav {
    gap: 84px;
}

a.navbar-brand.main_logo {
    margin-right: 100px;
}

.main_logo img {
    width: 40px;
}

header {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

/*  */
#lorem {
    padding: 40px 0 60px;
}

#lorem h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

#lorem h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

#lorem p {
    color: #757575;
    font-size: 18px;
    line-height: 26px;
}

/*  */
#invoice {
    background: #F4F4F4;
    padding: 100px 0;
}

.invoice_bg {
    background: #FEFCFC;
    outline: 1px solid #E7E7E7;
    outline-offset: 5px;
    padding: 25px;
    margin: 0 40px;
}

.invoice_bg h3 {
    font-size: 24px;
}

button.btn-add,
div.btn-add {
    background: #D9D9D9;
    border-radius: 0;
    font-size: 24px;
    font-family: 'Roboto';
    font-weight: 500;
    padding: 42px 65px 41px 65px;
}

#logoBox img {
    width: 100px;
    height: auto;
    /* object-fit: cover; */
    max-width: 100%;
}

/*  */
.divider.border-top {
    border-color: #DADADA !important;
    margin: 30px 0;
}

/*  */

.invoice_details .table-header th {
    font-weight: 500 !important;
    background-color: #29BBFF !important;
    color: white;
}

.invoice_details .table-header th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.invoice_details .table-header th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-icon {
    border-radius: 50%;
    padding: 5px 11px;
    margin-right: 8px;
    border: 1px solid #A6A6A6;
    background: #F4F3F3;
}

.btn-icon i {
    font-size: 1rem;
}


button.btn.btn-icons {
    padding: 6px;
    background: #F4F3F3;
    border-radius: 0;
    border: none;
    font-size: 10px;
}

.invoice_details table input {
    background-color: #F4F3F3 !important;
    border: none !important;
    outline: 0;
    border-radius: 4px !important;
}

.invoice_details table tbody tr td {
    padding: 28px 14px 17px !important;
}

.invoice_details table tbody tr td:first-child {
    padding: 28px 14px 17px 0px !important;
}

.invoice_details tbody tr {
    border-bottom: 1px dashed #DADADA;
}

/*  */
.notes_terms {
    margin-bottom: 32px;
}

.notes_terms .left input {
    padding: 16px !important;
}

.Terms {
    margin-top: 30px;
    padding: 0 48px;
}

/*  */
.sub_total p {
    font-size: 16px;
}

.sub_total {
    gap: 15px;
}

.sub_total p.sub_price {
    font-size: 28px;
}

.sub_total p.final_price {
    font-size: 35px;
}

/*  */
.Sign {
    gap: 16px;
}

.Sign span {
    font-size: 20px;
}

/*  */
button.btn-main {
    font-size: 18px;
    color: #FEFCFC;
    background: #29BBFF;
    border-radius: 10px;
    padding: 10px 44px;
    font-family: 'Roboto';
}

.download_print,
.pre_share {
    gap: 41px;
}

/* Footer Start */
footer {
    padding: 66px 0 0 0;
}

footer h5 {
    margin-bottom: 20px;
}

.social_links {
    gap: 10px;
}

.social_links i {
    font-size: 20px;
}


/* Second Page Responsive */
.Invoice_front {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.invoice-header {
    background-color: #E4F7FF;
    padding: 20px 48px;
}

.invoice-title {
    font-size: 49px;
    font-weight: 400;
}

.invoice-box {
    background-color: #ffffff;
    padding: 30px 48px 25px;
}

.divider.border-top {
    border-color: #DADADA !important;
    margin: 30px 0;
}

.invoice-output .table th,
.invoice-output .table td {
    vertical-align: middle;
}

.G_Notes .left {
    background-color: #E4F7FF;
    padding: 27px 27px 27px 60px;
}

.G_Notes .right {
    padding: 27px 60px 27px 27px;
    background-color: #00c2ff;
}

.grand-total {
    color: #ffffff;
    text-align: right;
}

.G_Notes .note p.heading,
.Terms p.heading {
    font-size: 14px;
    color: #000;
}

.G_Notes .note p,
.Terms p {
    font-size: 12px;
    color: #535353;
}

.G_Notes .grand-total p {
    color: #FEFCFC;
    font-size: 12px;
}

.G_Notes .grand-total p.final_total {
    color: #FEFCFC;
    font-size: 35px;
    font-weight: 600;
}

.invoice-output tr td:nth-last-child(-n+4) {
    text-align: center;
}

.invoice_sign {
    padding: 48px 48px 40px 0;
}

.invoice_gen .right strong,
.invoice_gen strong,
.invoice-output th {
    font-size: 14px;
}

.invoice_gen p,
.right p {
    line-height: normal;
}

.invoice_gen .right span,
.invoice-output td {
    font-size: 12px;
    color: #454545;
}

/*  */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


input[type=number] {
    -moz-appearance: textfield;
}




/* quick invoice css */

.Quick_invoice {
    width: 520px;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.Quick_invoice .quick_btn {
    gap: 15px;
}

button.btn-main, .Quick_invoice a.btn-main {
    font-size: 18px;
    color: #FEFCFC;
    background: #29BBFF;
    border-radius: 10px;
    padding: 10px 44px;
    font-family: 'Roboto';
}

/* Responsive Media Query */

@media (max-width: 991.98px) {
    #navbarNav ul.navbar-nav {
        gap: 0px;
    }

    .invoice_bg {
        padding: 15px;
        margin: 0 24px;
    }

    button.btn-add,
    div.btn-add {
        padding: 20px 32px 20px 32px;
    }

    .form-control {
        width: 100% !important;
    }

    .invoice-header {
        padding: 20px 28px;
    }

    .invoice-box {
        padding: 30px 28px 25px;
    }

    .G_Notes .left {
        padding: 27px 27px 27px 34px;
    }

    .G_Notes .right {
        padding: 27px 34px 27px 27px;
    }

    .Terms {
        margin-top: 25px;
        padding: 0 28px;
    }

    .invoice_sign {
        padding: 32px 28px 28px 0;
    }
}


@media only screen and (max-width:767px) {
    .invoice_bg {
        padding: 15px;
        margin: 0;
    }

    #invoice {
        padding: 40px 0;
    }

    .form-control {
        width: 100% !important;
    }

    #lorem {
        padding: 40px 0 40px;
    }

    button.btn-add,
    div.btn-add {
        padding: 20px 32px 20px 32px;
    }

    /* 
    .invoice_details .table-header th {
        width: 100% !important;
    } */

    .invoice_details table tbody tr td {
        padding: 8px 6px 8px !important;
    }

    .invoice_details table tbody tr td:first-child {
        padding: 8px 6px 8px 0px !important;
    }

    footer {
        padding: 40px 0 0 0;
    }

    footer h5 {
        margin-bottom: 10px;
    }

    .invoice_buttons {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .download_print,
    .pre_share {
        gap: 15px;
        flex-wrap: wrap;
    }

    /* .item_input {
    width: 50px !important;
    }
    .price_input {
        width: 60px !important;
    } */
}



@media (max-width: 575.98px) {
    .G_Notes {
        flex-direction: column;
    }

    .invoice-header-details {
        flex-direction: column;
    }

    .invoice-header {
        padding: 20px 24px;
    }

    .invoice-box {
        padding: 30px 24px 25px;
    }

    .G_Notes .left {
        padding: 27px 27px 27px 30px;
    }

    .G_Notes .right {
        padding: 27px 30px 27px 27px;
    }

    .invoice_sign {
        padding: 24px 24px 20px 0;
    }

    .invoice-title {
        font-size: 36px;
    }
}