<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    .container {
        max-width: 1200px;
        margin: auto;
        padding: 20px;
    }
    .invoice {
        margin: 20px 0;
        padding: 20px;
        border: 1px solid #009688;
        background-color: #fff;
        width: fit-content;
        border-radius: 10px;
    }
    .invoicea {
        color-rendering: optimizeQuality;
        margin: 0px 0;
        padding: 20px;
        //border: 1px solid #00000021;
        background-color: #fff;
        text-align: center;
        color: #00000054;
    }
    .invoice-header, .invoice-details, .client-details, .invoice-ref, .invoice-total {
        margin-bottom: 20px;
    }
    .invoice-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    .invoice-header img {
        max-width: 150px;
        width: 100%;
        height: auto;
    }
    .invoice-details, .client-details {
        font-size: 14px;
    }
    .invoice-details p, .client-details p {
        margin: 0;
    }
    .invoice-ref {
        font-size: 16px;
        color: #d44e4e;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
    table, th, td {
        border: 1px solid #ddd;
    }
    th, td {
        padding: 8px;
        text-align: left;
    }
    th {
        background-color: #f2f2f2;
    }
    .invoice-total {
        text-align: right;
        font-size: 16px;
        font-weight: bold;
    }
    .payment-method {
        margin-bottom: 20px;
    }
    .payment-method h3 {
        margin-bottom: 5px;
    }
    .payment-method address {
        font-style: normal;
        line-height: 1.5;
    }
    .payment-summary table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }
    .payment-summary td {
        padding: 5px;
        border-bottom: 1px solid #ddd;
    }
    .payment-summary td:first-child {
        font-weight: bold;
        width: 60%;
    }
</style>
<!-- new section -->
<style>
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
        display: none; /* Hide initially */
        justify-content: center;
        align-items: center;
    }
    .popup {
        background-color: #fff;
        padding: 10px;
        border-radius: 5px;
        max-width: 80%; /* Limit maximum width */
        max-height: 80%; /* Limit maximum height */
        overflow: auto; /* Add scrollbars if content overflows */
        position: relative; /* Add position relative */
    }
    .close {
        position: absolute;
        top: -7px;
        right: 6px;
        cursor: pointer;
        font-size: 20px;
        background-color: #ff1100;
        border-radius: 10px;
        padding: 5px;
        font-size: 23px;
        z-index: 11;
    }
    .expand {
        position: absolute;
        top: -7px;
        right: 35px; /* Adjusted position */
        cursor: pointer;
        font-size: 20px;
        background-color: #007bff; /* Blue color, you can change it */
        border-radius: 10px;
        padding: 5px;
        font-size: 23px;
        z-index: 11;
    }
    /* Responsive styles */
    @media (max-width: 768px) {
        .popup {
            max-width: 90%;
            max-height: 90%;
        }
    }
    /* Responsive iframe */
    .responsive-iframe-container {
        position: relative;
        overflow: hidden;
        padding-top: 0%; /* 16:9 Aspect Ratio */
    }
    .responsive-iframe-container iframe {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        position: relative;
        border: 0;
    }
</style>
<!-- new section -->
<style>
    .vertical-text {
        transform: rotate(90deg);
        /* transform-origin: left top; */
        left: 0px;
        padding: 2px;
        margin-top: 40px;
        white-space: nowrap;
        position: relative;
        margin-bottom: 8px;
    }
    .vertical-texta {
        transform: rotate(0deg);
        /* transform-origin: left top; */
        left: 0px;
        padding: 2px;
        /* margin-top: 40px; */
        white-space: nowrap;
        position: relative;
        /* margin-bottom: 8px; */
        font-size: 10px;
    }
</style>
<!-- new section -->
<style>
    .button {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .button:hover {
        background-color: #45a049;
    }
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        justify-content: center;
        align-items: center;
    }
    .popup {
        background-color: #fff;
        padding: 20px;
        border-radius: 5px;
        max-width: 600px;
        width: 100%;
        position: relative;
    }
    .closea {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        font-size: 20px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-group label {
        display: block;
        margin-bottom: 5px;
    }
    .form-group input, .form-group textarea {
        width: 100%;
        padding: 8px;
        box-sizing: border-box;
    }
</style>
