table.array_table
{
    border-collapse: collapse;
    border: 1px solid black;
    border-radius: 10px;
}


th.array_table
{
    border: 1px solid black;
    padding: 5px;
    background-color: #1C6EA4FF;
}

td.array_table
{
    border: 1px solid black;
    padding: 5px;
}

tr.array_table2
{
    background-color: #e8fcff;
}

table.array_table thead th
{
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    height: 100px;
}

.container {
    flex-grow: 1;
    /*max-width: 1200px;*/
    /*margin: 0 auto;*/
    padding: 20px;
    box-sizing: border-box;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}







.customer_dropdown {
    display: inline-block;
    position: relative;
}

.customer_dropdown select {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333333;
    font-size: 14px;
    padding: 8px 38px 8px 10px;
    width: 200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.customer_dropdown select::-ms-expand {
    display: none;
}

.customer_dropdown:after {
    content: "\25BC";
    color: #999999;
    font-size: 16px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.customer_dropdown select:focus {
    border: 1px solid #1e87f0;
    outline: none;
}

.customer_dropdown.select-error select {
    border: 1px solid #ff0000;
}




.button1 {
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background-color: #0f027b;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;

    margin-top: 10px;
}

.button2 {
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background-color: #1e1f22;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;

    margin-top: 10px;
}




.button1:hover {
    background-color: #1066c9;
}

.button1:active {
    background-color: #0a4eab;
}

.button1.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



h1.invoiceheadText
{
    color: #1C6EA4FF;
}

p.invoiceheadText
{
    font-size: 8pt;
}

h1.invoiceheadsection
{
    text-align: right;
    color: #1C6EA4FF;
}

table.invoiceheadsection
{
    margin-right: 0px;
    margin-left: auto;
    border-collapse: collapse;

}

td.invoiceheadsection
{
    border: 1px solid;
    border-color: #333333;

}


input,
textarea
{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form_container {
    overflow: hidden;
    position: relative;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 400px;
    text-align: center;
}



button.submit {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.progress-bar {
    height: 10px;
    top: 0;
    left: 0;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, rgb(234 234 234) 33%, rgba(255,255,255,1) 33%);
    border-radius: 8px 8px 0 0;
}
.progress-bar-fill {
    height: 100%;
    background-color: #007bff;
    border-radius: 8px 3px 3px 0;
}

.defult_span {
    float: left;
    text-align: left;
    font-size: 14px;
}

.pricing_div
{
    border-radius: 5px;
    border: solid;
    border-color: #0f027b;
    font-size: 20pt;
    width: 18%;
    float: left;
    padding: 10px;

    padding-top: 22px;
    padding-bottom: 22px;
    line-height: 1.4;
}


.payment_option_box_header
{
    height: 10px;
    top: 0;
    left: 0;
    margin-top: -2px;
    /*margin-left: -2px;*/
    /*margin-right: -2px;*/
    padding-bottom: 40px;
    background: #0f027b;
    border-radius: 15px 15px 0 0;
}

.payment_option_box_footer
{
    height: 10px;
    top: 0;
    left: 0;
    margin-bottom: -2px;
    /*margin-left: -2px;*/
    /*margin-right: -2px;*/
    padding-bottom: 40px;
    background: #0f027b;
    border-radius: 0 0 15px 15px;
}
.payment_option_box
{
    /*border: solid 2px;*/
    border-radius: 10px;
    max-width: 300px;
    margin: auto;
    background-color: #f7f7f7;
}

.enter_code_input
{
    display: block;
    width: 90%;
}

@keyframes slide-left-in {
    from {
        transform: translateX(120%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slide-right-in {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slide-left-out {
    from {
        transform: translateX(30%);
    }
    to {
        transform: translateX(150%);
        opacity: 50%;
        display: none;

    }
}

@keyframes slide-right-out {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-120%);
        opacity: 50%;
        display: none;
    }
}

.prevBtn {
    left: 10px;
    position: absolute;
    top: 300px;
    font-size: 20pt;
    border: none;
    background-color: #f7f7f7;
    z-index: 5;
    border-radius: 5px;
}

.nextBtn {
    right: 10px;
    position: absolute;
    top: 300px;
    font-size: 20pt;
    border: none;
    background-color: #f7f7f7;
    z-index: 5;
    border-radius: 5px;

}


/*header*/

.container{
    padding: 5%;
}

.header_image
{
    display: block;
    margin-left: auto;
    margin-right: 20px;
    width: 100px;
}


.header {
    background-color: #1e87f0;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hamburger-menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #1882ec;
    padding-top: 60px;
    transition: all 0.3s ease;
    z-index: 999;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    padding: 20px;
    font-size: 20px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.sidebar ul li a:hover {
    background-color: #1e87f0;
}

/* Animation to transform hamburger menu to X */
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.page_name
{
    margin-left: auto;
    font-size: 30pt;
}


.warranty_image
{
    width: 100%;
}

.document_page
{
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15pt;
}

.footer
{
    background-color: #1e87f0;
    padding-top: 15px;
    bottom: 0;
    display: flex;
}
.footer_div_column
{
    flex: 1; /* Each column will take equal width */
}

.device_tbl
{
    width: 100%;
    text-align: left;
    font-size: 10pt;
    border-bottom: 10px solid #cacaca;
}

.device_info_container
{
    display: inline-block;
    float: right;
    width: 200px;
    margin-right: 30px;
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    margin-top: 10px;
    height: 30px;
}


.device_list_head_tr
{
    border-bottom: 1px solid grey;
}

.rm_m_status
{
    border-radius: 15px;
    display: inline-block;
    float: right;
    margin-right: 50px;
    margin-top: 20px;
    text-align: center;
    width: 200px;
    padding-top: 10px;
}

.rm_ACTIVE
{
    background-color: #74BF22;
}

.rm_INACTIVE
{
    background-color: #BF4E22;
}

.rm_CANCELLED
{
    background-color: #ff8759;
}

.device_list_btn
{
    background-color: #ffffff;
    font-size: 30px;
    padding: 10px 30px;
    color: #1e87f0;
    border: 1px solid black;
}

.ppm_input
{
    display: block;
    margin: auto;
    padding: 10px;
    width: 30%;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;

}

.device_container
{
    border-left: 2px solid;
    border-right: 2px solid;
    overflow: auto;
}

.device_list_header
{
    background: #0a4eab;
    text-align: center;
    padding: 10px;
    border-top: 2px solid;
    border-radius: 20px 20px 0 0;
    border-left: 2px solid;
    border-right: 2px solid;
}

.device_list_footer
{
    background: #0a4eab;
    text-align: center;
    padding: 10px;
    border-bottom: 2px solid;
    border-radius: 0 0 20px 20px;
    border-left: 2px solid;
    border-right: 2px solid;
    margin-bottom: 20px;
}

.add_device_btn
{
    background-color: white;
    color: black;
    font-size: 15px;
    border-radius: 10px;
    padding: 8px;
    font-weight: bold;
}

.forgot_password
{
    position: absolute;
    left: 30px;
    margin-top: -5px;
    font-size: 11px;
}

a.button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.magnifying-glass-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    transition: background-color 0.3s;
}
.magnifying-glass-button:hover {
    /*background-color: #2980b9;*/
}

.fa-search
{
    color: #000000;
}

.profile-icon
{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #c5c5c5;
    background-color: white;
    color: #1B4EA9;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
}

.popup {
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0.99;
    top: 20%;
    z-index: 10;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    max-width: 80%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.loader {
    display: none;
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 10% auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

input:disabled
{
    font-weight: bold;
}



select {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;

    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;

    outline: none; /* Remove outline on focus */
}

/* Style the dropdown options */
select option {
    background-color: #ffffff;
    color: #333;
    padding: 10px;
}

/* Hover and Focus Effects */
select:hover {
    background-color: #2980b9;
}

.maps-btn {
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: 12px;
    padding: 12px 16px;

    background: #ffffff;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 10px;

    font-size: 16px;
    font-weight: 500;
    cursor: pointer;

    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.maps-btn:hover {
    background: #f7f7f7;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.maps-btn .label {
    text-align: center;
}

.maps-btn .icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Page wrapper */
.page {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* Masonry container */
.masonry {
    max-width: 1200px;
    column-count: 4;
    column-gap: 20px;
}

/* Masonry item */
.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.masonry-item:hover {
    transform: translateY(-4px);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .masonry { column-count: 3; }
}

@media (max-width: 600px) {
    .masonry { column-count: 2; }
}

@media (max-width: 300px) {
    .masonry { column-count: 1; }
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Visible state */
.lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

/* Image */
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* Animation */
@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Utility */
.hidden {
    display: none;
}

#Save_form_btn {
    transition: background-color 2s linear;
}