

#loader {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background: rgba(128, 128, 128, 0.5); /* Transparent grey background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 6rem;
    height: 6rem;
    border-width: 10px;
}

.uppercase {
    text-transform: uppercase;
}

.highlight {
    background-color: rgba(255, 255, 150, 0.75);
}



/*Mail Loadee*/



.ip {
    width: 16em;
    height: 8em;
}
.ip__track {
    stroke: hsl(var(--hue),90%,90%);
    transition: stroke var(--trans-dur);
}
.ip__worm1,
.ip__worm2 {
    animation: worm1 2s linear infinite;
}
.ip__worm2 {
    animation-name: worm2;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: hsl(var(--hue),90%,5%);
        --fg: hsl(var(--hue),90%,95%);
    }
    .ip__track {
        stroke: hsl(var(--hue),90%,15%);
    }
}

/* Animation */
@keyframes worm1 {
    from {
        stroke-dashoffset: 0;
    }
    50% {
        animation-timing-function: steps(1);
        stroke-dashoffset: -358;
    }
    50.01% {
        animation-timing-function: linear;
        stroke-dashoffset: 358;
    }
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes worm2 {
    from {
        stroke-dashoffset: 358;
    }
    50% {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -358;
    }
}



/*GENERATE RO*/

.header {
    text-align: center;
    margin-bottom: 20px;
}
.table th, .table td {
    vertical-align: middle;
    text-align: center;
}
.notes {
    margin-top: 20px;
    font-size: 0.9rem;
}
.rectangle-container {
    width: 100%;
    max-width: 500px;
    height: 150px;
    border: 2px solid #000;
    background-color: #f8f9fa;
    padding: 10px;
    margin: 15px auto;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-style{
    max-width: 70%;
    height: auto;
}


.common-bg{
    background-color:#0e1d34;
}

.panel-bg{
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    background-image: url('/images/world-dotted-map.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.nav-item{
    width: -webkit-fill-available;
    text-align: center;
}


@media print {
    .no-print {
        display: none; /* Hides elements with the no-print class when printing */
    }
}


.common-Font {
    font-family: "Poppins", ui-monospace;
    font-optical-sizing: auto;
    font-weight:normal;
    font-style: normal;
}
.commonTextColour{
    color: white;
    font-style:inherit;
    text-align: center;
}
.custom-text-align{
    text-align: start !important;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;

}

#loader div {
    font-family: 'Dancing Script', cursive;
    font-size: 100px;
    font-weight: bold;
    color: #e50914;
    letter-spacing: 5px;
    animation: pulse 1.5s ease-in-out infinite, gradientAnimation 3s ease infinite;
}

@media print {
    body * {
        visibility: hidden; /* Hide everything by default */
    }

    #RoContainer, #RoContainer * {
        visibility: visible; /* Make the container and its children visible */
    }

    #RoContainer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto; /* Adjust height automatically */
        transform: scale(1); /* Scale down to fit the page */
        transform-origin: top center;
        margin: 0;
        /* Prevent content from breaking across pages */
        page-break-inside: avoid;
        page-break-before: auto;
        page-break-after: auto;
    }

    @page {
        size: auto; /* Automatically adjust to content size */
        margin: 10mm; /* Set a small margin to fit the content */
    }

    /* Ensure no element causes content overflow */
    * {
        box-sizing: border-box;
        overflow: hidden;
    }
}


@media print {
    #RoContainer {
        font-size: 90%; /* Reduce font size slightly for printing */
    }
}


.commonStylePreview{
    min-width: 130px; /* Adjust as needed */
    text-align: center !important;

}


.addAllAtt{
    position: absolute !important;
    top: 60% !important;  /* Adjusting top positioning in percentage */
    right: 0 !important;
    margin-right: 5% !important; /* Adjust margin-right in percentage */

}


.commonStyleWidth {
    min-width: 150px; /* Adjust as needed */
    background-color: #0e1d34 !important;
    color: #ffffff;
    text-transform: uppercase;
    text-wrap: wrap;
    font-size: smaller;
    text-align: left !important;
    padding: 0px 10px !important;
    border: 1px solid #ddd !important;
}


.mail-preview-content {
    border: 1px solid #ddd;
    padding: 10px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    white-space: pre-line; /* Helps keep line breaks */
}

/* Style to match the link format */
.highlight-link {
    background-color: yellow;
    font-weight: bold;
    color: #ec6f6f;
    padding: 2px 4px;
    border-radius: 4px;
}


.newPaperStyle{
max-height: 20rem !important;
overflow-y: auto;
}

/*#checkboxContainer{*/
/*    overflow-y: auto;*/
/*    max-height: 20rem;*/
/*}*/

.stateClass{
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.mail-preview-content {
    border: 1px solid #ddd;
    padding: 10px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    white-space: pre-line; /* Ensures text formatting is maintained */
}


/* Google Drive button style */
.gdrive-button {
    background-color: yellow;
    font-weight: bold;
    color: #ec6f6f;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    margin-top: 5px;
}

.gdrive-button:hover {
    background-color: #ffcc00;
}


.mailStyle{
    padding-left: 61px !important;
}
.mailAtt{
    width: 17% !important;
}
/*@media print {*/
/*    !* Set A4 landscape layout with optimized margins *!*/
/*    @page {*/
/*        size: A4 landscape;*/
/*        margin: 5mm; !* Reduce margins to maximize space *!*/
/*    }*/

/*    !* Hide everything except the RO container *!*/
/*    body * {*/
/*        visibility: hidden;*/
/*    }*/

/*    #RoContainer, #RoContainer * {*/
/*        visibility: visible;*/
/*    }*/

/*    #RoContainer {*/
/*        position: absolute;*/
/*        top: 0;*/
/*        left: 0;*/
/*        width: 100%;*/
/*        transform: scale(0.90); !* Slightly increased scaling for better readability *!*/
/*        transform-origin: top left;*/
/*        font-size: 85%; !* Increased font size *!*/
/*        line-height: 1.3; !* Better spacing *!*/
/*        padding: 0;*/
/*        margin: 0;*/
/*    }*/

/*    !* Specific font size for Notes section *!*/
/*    .notes p, .notes ol {*/
/*        font-size: 12px !important; !* Increased font size for better readability *!*/
/*    }*/

/*    !* Table optimization *!*/
/*    .table {*/
/*        font-size: 85%;*/
/*        width: 100%;*/
/*        border-collapse: collapse;*/
/*    }*/

/*    .table th, .table td {*/
/*        padding: 6px; !* Slightly increased cell padding *!*/
/*        white-space: nowrap; !* Prevent line wrapping *!*/
/*    }*/

/*    !* Ensure no page breaks within tables *!*/
/*    table, tr, td, th {*/
/*        page-break-inside: avoid;*/
/*    }*/

/*    !* Adjust margins and padding for elements *!*/
/*    h4, p {*/
/*        margin: 0;*/
/*        padding: 4px 0;*/
/*    }*/

/*    .row, .col-6, .col-4, .col {*/
/*        margin: 0;*/
/*        padding: 2px;*/
/*    }*/

/*    !* Hide unnecessary sections *!*/
/*    .rectangle-container {*/
/*        display: none;*/
/*    }*/

/*    !* Ensure the footer remains at the bottom *!*/
/*    .footer {*/
/*        position: absolute;*/
/*        bottom: 0;*/
/*        width: 100%;*/
/*    }*/


/*font-size: 15px;*/
/*width: 120px;*/
/*}*/


/*Mail Attacment*/



.document-preview {
    position: relative;
    border-radius: 16px;
    border: 2px solid #7c3aed;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    /*width: 18% !important;*/
    /*width: 30% !important;*/
    margin: 14px 14px;
}

.preview-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
}

.document-preview:hover .preview-overlay {
    display: flex;
}

.remove-button {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 24px;
    height: 24px;
    background: #7c3aed;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    margin: 17px 16px;
}

.file-info {
    text-align: center;
    padding: 1rem;
}

.file-type {
    color: #6c757d;
    /*margin-bottom: 0.5rem;*/
    margin-top: 15px;
    font-size: 13px !important;
}


.file-name {
    max-width: 107px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 auto;
    font-size: 0.875rem;
}

#createDynamicButton{
    display: flex;
    padding: 0px 2.5rem;"
}

/* General Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}


/* Table Cells */
td {
    padding: 2px 5px !important;
    border-bottom: 1px solid #ddd;
    font-size: smaller;
}

/* Hover Effect - Exclude Header Row (tr containing th) */
table tr:not(:has(th)):hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}


/* General sorting arrow styling for both TH and TD */
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:after {
    opacity: 1 !important; /* Ensure arrows are visible */
}

/* Default sorting state (arrow direction) */
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:before {
    bottom: 50% !important;
    content: "▲" !important; /* Default arrow for sorting */
}

/* Sorting Arrow Styling */
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
    top: 50% !important;
    content: "▼" !important;
}


/* Sorting state when sorting is active (up or down arrows) */
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:before {
    content: "▲" !important; /* Ascending arrow */
}

table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > td.sorting_desc:after {
    content: "▼" !important; /* Descending arrow */
}



/* Sorting Arrow Positioning */
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
    position: absolute !important;
    display: block !important;
    opacity: 0.50;
    right: 5px !important;
    line-height: 12px !important;
    font-size: 1em !important;
}

.preview-item {
    padding: 8px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 110%;
    max-width: 100%;
    text-align: left;
    position: relative;
}

.preview-item img {
    max-height: 60px;
    max-width: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.remove-file-btn {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: red;
    display: flex
;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 5px;
}

.remove-file-btn:hover {
    background-color: darkred;
}


.dropDownOverFlow{
    max-height: 13rem;
    overflow-y: auto;
}

.sticky-header {
    position: sticky !important;
    z-index: 9999 !important;
    top: -8px !important;
}

p {
    margin-top: 0;
    margin-bottom: 0.1rem !important;
}


.invoice-header {
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 8px 8px 0 0;
}

.invoice-section {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: white;
}

.section-title {
    background-color: #f8f9fa;
    padding: 10px;
    font-weight: bold;
    border: 1px solid #dee2e6;
}

.invoice-details {
    text-align: right;
}

.section-content {
    padding: 10px;
}

.gst-highlight {
    font-weight: bold;
    color: #000;
}

@media (max-width: 576px) {
    .custom-heading {
        font-size: 20px; /* Set desired smaller font size */
    }

}
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


.square-card {
    aspect-ratio: 3 / 1;
    width: 80%;
    text-decoration: none;
}

.square-card:hover {
    transform: scale(1.02);
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}