// New York PDF CSS
.invoice-header {
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.border-top {
    border-top: 1px solid #83b130 !important;
}
.border-bottom {
    border-bottom: 1px solid #83b130 !important;
}

.border-bottom-gray {
    border-bottom: 1px solid #c0c0c0 !important;
}

.border-0 {
    border: 0px solid white !important;
}
.product-table,
.total-table {
    margin: 0;
    tr {
        th,
        td {
            border: 0px solid white !important;
            padding: 6px 0 !important;
        }
    }
}
.text-end {
    text-align: right !important;
}
.companylogo {
    text-align: left;
    margin: 0;
    padding: 0;
}

.invoice-header-inner {
    text-align: right;
}

.invoice-header-inner h3 {
    margin: 0;
    padding: 0;
}

.details-section {
    margin-bottom: 3rem;
}

.invoice-header p {
    color: #555;
    font-size: 16px;
    margin: 5px 0;
}

.text-color {
    color: #999999;
}

.invoice-date {
    padding: 15px 0;
    border-top: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

.billedto {
    padding: 15px 20px;
    border-top: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

.from {
    padding: 15px 20px;
    border-top: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

.notes-terms {
    margin-top: 2rem;
    padding: 0 15px;
}

.regards {
    margin-top: 2rem;
    padding: 0 15px;
}

// Default PDF CSS styles
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Lato", DejaVu Sans, sans-serif;
    padding: 30px;
    font-size: 14px;
}

.object-contain {
    object-fit: contain;
}

.font-color-gray {
    color: #7a7a7a;
}

.main-heading {
    font-size: 34px;
    font-weight: bold;
    text-transform: uppercase;
}

.header-right {
    text-align: right;
    vertical-align: top;
}

.logo,
.company-name {
    margin-bottom: 8px;
    margin-left: 18px;
}

.font-weight-bold {
    font-weight: bold;
}

.address {
    margin-top: 60px;
}

.address tr:first-child td {
    padding-bottom: 10px;
}

.d-items-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    margin-top: 40px;
}

.d-items-table thead {
    background: #2f353a;
    color: #fff;
}

.d-items-table td,
.d-items-table th {
    padding: 8px;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    text-align: left;
    vertical-align: top;
}

.d-invoice-footer {
    margin-top: 15px;
    width: 80%;
    float: right;
    text-align: right;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.items-table td,
.items-table th {
    padding: 8px;
    font-size: 14px;
    text-align: left;
    vertical-align: top;
}

.invoice-footer {
    margin-top: 15px;
    width: 100%;
    text-align: right;
}

.number-align {
    text-align: right !important;
}

.invoice-currency-symbol {
    font-family: "DejaVu Sans";
}

.vertical-align-top {
    vertical-align: text-top;
}

.tu {
    text-transform: uppercase;
}

.l-col-66 {
    width: 100%;
}

.thank {
    font-size: 45px;
    line-height: 1.2em;
    text-align: center;
    font-style: italic;
    padding-right: 25px;
}

.to-font-size {
    font-size: 15px;
}

.from-font-size {
    font-size: 15px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: unset !important;
}

.right-align {
    text-align: right !important;
}

.border-b {
    border-bottom: 1px solid #000000;
}
.border-t {
    border-top: 1px solid #000000;
}
.bg-black {
    background-color: #000000;
}
.bg-gray {
    background-color: #eaebec;
}
.bg-gray-100 {
    background-color: #f2f2f2;
}
.bg-danger {
    background-color: #d71920;
}
.bg-purple {
    background-color: #b57ebf;
}
.text-purple {
    color: #b57ebf;
}
.border-b-gray {
    border-bottom: 1px solid #bbbdbf;
}
.ps-5rem {
    padding-left: 5rem;
}
.header-section {
    position: relative;
    overflow: hidden;
    &::after {
        position: absolute;
        content: "";
        width: 116%;
        height: 100%;
        background-color: white;
        top: 0;
        left: -53px;
        transform: skew(35deg);
        z-index: 0;
    }
    table {
        position: relative;
        z-index: 2;
    }
    .invoice-text {
        position: relative;
        &::after {
            position: absolute;
            content: "";
            width: 29%;
            height: 100%;
            background-color: white;
            top: 0;
            left: 95%;
            transform: skew(36deg);
        }
    }
}
.table-striped {
    thead {
        background-color: #f8f9fa;
    }
    tbody tr:nth-child(even) {
        background-color: #f8f9fa;
    }
}
.bg-light {
    background-color: #f8f9fa;
}

//istanbulTemplate
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.w-30 {
    width: 30%;
}
.istanbul-template {
    font-family: "Open Sans", sans-serif;
    strong {
        font-weight: bold;
    }

    .invoice-header {
        .heading-text {
            position: relative;
            z-index: 2;
        }
    }
    .invoice-table {
        border-bottom: 0.5px solid #c6c6c6;
        font-family: "Inter", sans-serif;
        thead {
            background-color: #fb5c3a;
            color: white;
        }
    }
    .bottom-line {
        height: 30px;
        width: 100%;
        background-color: #fb3f01;
        position: relative;
        overflow: hidden;
        &::after {
            position: absolute;
            content: "";
            width: 62%;
            height: 100%;
            background-color: #0e1c45;
            top: 0;
            left: -15px;
            transform: skew(35deg);
            z-index: 0;
        }
    }
}
.font-gray-900 {
    color: #1a1c21 !important;
}
.font-gray-600 {
    color: #5e6470 !important;
}
.font-orange {
    color: #fb3f01;
}
.border-top-gray {
    border-top: 1px solid #c6c6c6;
}
.z-10 {
    z-index: 10;
}
.px-10 {
    padding-left: 40px;
    padding-right: 40px;
}

// mumbaiTemplate
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
.h-25px {
    height: 20px;
}
.h-125px {
    height: 100px;
}
.mumbai-template {
    font-family: "Open Sans", sans-serif;
    .top-border {
        width: 100%;
        height: 10px;
        background-color: #3f478b;
    }
    .bottom-border {
        width: 100%;
        height: 10px;
        background-color: #3f478b;
    }
    .heading-text {
        background-color: #3f478b;
    }
    .invoice-table {
        font-family: "Inter", sans-serif;
        border-bottom: 0.5px solid #c6c6c6;
        thead {
            background-color: #3f478b;
            color: white;
            th {
                &:first-child {
                    border-top-left-radius: 6px;
                    border-bottom-left-radius: 6px;
                }
                &:last-child {
                    border-top-right-radius: 6px;
                    border-bottom-right-radius: 6px;
                }
            }
        }
        tbody tr:nth-child(even) {
            background-color: #ededed;
        }
    }
    .total-amount {
        background-color: #3f478b;
        color: white;
        border-radius: 6px;
        td {
            &:first-child {
                border-top-left-radius: 6px;
                border-bottom-left-radius: 6px;
            }
            &:last-child {
                border-top-right-radius: 6px;
                border-bottom-right-radius: 6px;
            }
        }
    }
}
.text-indigo {
    color: #3f478b;
}

//  hongKongTemplate
.hongkong-template {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: medium;
    strong {
        font-weight: bold;
    }
    .invoice-header {
        .heading-text {
            position: relative;
            h1 {
                color: #008fff;
                position: relative;
            }
        }
    }
    .invoice-table {
        font-family: "Inter", sans-serif;
        border-bottom: 0.5px solid #c6c6c6;
        thead {
            background-color: #008fff;
            color: white;
            border: 1px solid transparent;
            overflow: hidden;
            th {
                &:first-child {
                    border-top-left-radius: 6px;
                    border-bottom-left-radius: 6px;
                }
                &:last-child {
                    border-top-right-radius: 6px;
                    border-bottom-right-radius: 6px;
                }
            }
        }
        tbody tr:nth-child(even) {
            background-color: #ededed;
        }
    }
    .total-amount {
        background-color: #008fff;
        color: white;
        border-radius: 6px;
        td {
            &:first-child {
                border-top-left-radius: 6px;
                border-bottom-left-radius: 6px;
            }
            &:last-child {
                border-top-right-radius: 6px;
                border-bottom-right-radius: 6px;
            }
        }
    }
}
.text-yellow {
    color: #f18a1b;
}
.text-gray-600 {
    color: #6d6e70;
}

.tokyo-template {
    font-family: "Open Sans", sans-serif;
    strong {
        font-weight: bold;
    }
    .heading-text {
        h1 {
            font-size: 36px;
            font-weight: 400;
            letter-spacing: 4px;
            @media (max-width: 424px) {
                font-size: 24px;
            }
        }
    }
    .invoice-table {
        thead {
            text-transform: uppercase;
            background-color: #363b45;
            color: white;
            tr {
                th {
                    padding: 10px;
                }
            }
        }
        tbody {
            tr {
                td {
                    border-bottom: 0.5px solid #bbbdbf;
                    padding: 10px;
                    &:nth-child(1) {
                        width: 5%;
                    }
                    &:nth-child(2) {
                        width: 60%;
                    }
                    &:nth-child(1),
                    &:nth-child(4),
                    &:nth-child(6) {
                        background-color: #eaebec;
                    }
                }
            }
        }
    }
    .total-amount {
        border-top: 1px solid #363b45;
    }
}
.font-dark-gray {
    color: #363b45;
}

//parisTemaplate
.paris-template {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    .heading-text {
        padding: 0;
        h1 {
            font-size: 36px;
            font-weight: 700;
            letter-spacing: 4px;
            display: inline-block;
            @media (max-width: 496px) {
                font-size: 24px;
            }
            @media (max-width: 424px) {
                font-size: 24px;
            }
        }
    }
    .invoice-table {
        font-family: "Inter", sans-serif;
        border-bottom: 0.5px solid #c6c6c6;
        thead {
            background-color: #fab806;
            color: white;
        }
        tbody tr:nth-child(even) {
            background-color: #ededed;
        }
    }
}
.p-10px {
    padding: 10px;
}
.text-green {
    color: #9dc23b;
}
.fw-6 {
    font-weight: 600;
}

.mb5 {
    display: block;
    margin-bottom: 5px;
}

.img-logo {
    max-width: 100px;
    max-height: 66px;
    @media (max-width: 424px) {
        max-width: 75px;
    }
}

.fs-5 {
    font-size: 0.938rem !important;
}

.pe-10 {
    padding-right: 2.5rem !important;
}
