


/*=====================MPESA LOADER===============================================================================*/


.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid rgba(255,51,0,0.8);
    width: 50px;
    height: 50px;
    animation: spin 1.5s linear infinite, pulse 1.5s ease-in-out infinite;
    display: inline-block;
    margin-left: 10px;
    visibility: hidden;  /* Hidden by default */
    opacity: 0;          /* Ensures it is invisible */
    transition: visibility 0s, opacity 0.5s ease-in-out;  /* Smooth transition for visibility and opacity */
    box-shadow: 0 0 15px rgba(255, 51, 0, 0.3);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 51, 0, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(255, 51, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 51, 0, 0.3);
    }
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* When the loader is shown */
.loader.show {
    visibility: visible;  /* Make it visible */
    opacity: 1;           /* Fade in */
}









/*=========THE MAIN FORM STYLING AND RESIZING-------------------------------------------------------------------*/

#form {
    width: 100% !important;
    max-width: 1560px !important;   /* desktop max */
    margin: 0 auto !important;      /* center horizontally */
    position: relative !important;  /* keep in document flow */
    top: 0 !important;              /* start at top */
    padding: 20px !important;       /* spacing inside */
    box-sizing: border-box !important; /* padding included in width */
    height: auto !important;        /* grow with content */
    min-height: 100vh !important;   /* at least full screen height */
    background-color: #fff !important; /* optional: better readability */
}

✅ Force standard spacing between inputs
#form input,
#form select,
#form textarea
{
    display: block;
    width: 100% !important;
    margin-bottom: 8px !important;
}







/* Large tablets / small desktops */
@media (max-width: 1024px) {
    #form {
        max-width: 90% !important;
        padding: 16px !important;
    }
}

/* Tablets */
@media (max-width: 768px) {
    #form {
        max-width: 95% !important;
        padding: 12px !important;
    }

    #form input,
    #form select,
    #form textarea
    {
        margin-bottom: 14px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    #form {
        max-width: 100% !important;
        padding: 10px !important;
        border-radius: 0 !important;
    }

    #form input,
    #form select,
    #form textarea,
    #form button {
        margin-bottom: 12px !important;
    }
}



/*=========THE MAIN FORM STYLING AND RESIZING END-------------------------------------------------------------------*/




























































/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/



/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/








































.package-button-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.col {
    padding: 0;
    margin: 15px 15px;
    background: #202020;
    border-radius: 23px;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    position: relative;
    min-height: 300px;
}

.col:hover {
    box-shadow: none;
    transition: all .2s ease-in-out 0s;
}

.package-desc {
    display: block;
    /* background: #202020; */
    background: rgba(255,51,0,0.8);
    padding: 35px 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;
}

.package-desc p {
    color: #FFFFFF;
    text-align: center;
    width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
    padding-bottom: 10px;
}

@media (max-width: 1200px) {
    .package-desc p {
        width: 100%;
        white-space: normal;
        overflow: hidden;
    }
}

.package-desc h3 {
    color: #FFFFFF;
    text-align: center;
}

#subscribe-btn {
    display: block;
    font-size: 18px;
}

/*.action-button:hover {*/
/*    background: rgba(255,51,0,0.8);*/
/*}*/

.floating-bar {
    clear: both;
    position: fixed;
    list-style-type: none;
    right: 0;
    top: 80%;
    -webkit-animation: slideright 1s forwards;
    -webkit-animation-delay: 1.5s;
    animation: slideright 1s forwards;
    animation-delay: 1.5s;
    color: #fff;
    background: rgb(4, 30, 66);
    padding: 0 15px;
    border-radius: 10px 0 0 10px;
    z-index: 4;
    display: flex;
    align-items: center;
    transition: all 0.3s linear 0s;
}

.floating-bar:hover {
    background: rgb(255 51 0 / 80%);
}

.floating-btn {
    background: rgba(255,51,0,0.8);
    border: 0;
    font-weight: 600;
}

.floating-btn:hover {
    background: rgb(255 51 0 / 10%);
}

.floating-btn i {
    display: none;
}

.floating-bar h4 {
    color: #FFFFFF;
}

/** Ratings **/
.rating {
    direction: rtl;
    unicode-bidi: bidi-override;
}

.rating input {
    display: none;
}

.rating label,
.hero-content h3{
    color: rgba(255,51,0,0.8);
}

.rating-box {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
}

.rating-comment {
    display: block;
    color: #FFFFFF;
    text-align: center;
    padding: 0 60px;
}



.rating-name-position h4 {
    color: #FFFFFF;
}

.rating-name-position {
    padding: 20px 0;
    text-align: center;
}


/* Begin Cookie Modal
----------------------------------------------*/
/*@use postcss-nested;*/
/*@use postcss-media-minmax;*/
/*@use postcss-custom-media;*/
/*@use postcss-simple-vars;*/
/*@use postcss-cssnext;*/

:root {
    --orange: rgba(255,51,0,0.8);
}

.switch {
    position: relative;
    float: left;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--orange);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--orange);
}

.js-text,js-text-3rdparty {
    margin: 5px 30px 0 0;
    font-weight: bold;
    float: left;
}

.js-cookiebar {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

a.link {
    cursor: pointer;
}

.modal-header .close {
    color: rgba(255,51,0,0.8);
    background-color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    font-weight: 600;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    /* opacity: 1; */
}

.modal-header .close:hover {
    background-color: rgba(255,51,0,0.8);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}




.col-cookie {
    padding: 15px;
    margin: 15px 15px;
    background: #fbfbfb;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}

.col-cookie:hover {
    box-shadow: none;
    transition: all .2s ease-in-out 0s;
}

.btn-info, .btn-info:focus, .btn-info:active, .btn-info:active:focus {
    font-size: inherit;
    color: #fff;
    background-color: rgba(255,51,0,0.8);
    border-color: rgba(255,51,0,0.8);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .0533333333), 0 3px 6px rgba(0, 0, 0, .0766666667);
    width: 50%;
}

.btn-info:hover {
    color: #fff;
    background-color: #041e42;
    border-color: #041e42;
}

/* End Cookie Modal
----------------------------------------------*/



/* Pure CSS Modals
----------------------------------------------*/


.modal-dialog.payment {
    width: 85%;
    height: 100%;
    margin: 0% auto;
}



/* Timer Styling  ------------------------------*/

@property --t {
    syntax: "<number>";
    initial-value: 60;
    inherits: true;
}

@property --s {
    syntax: "<integer>";
    initial-value: 0;
    inherits: true;
}

.countdown {
    --s: calc(var(--t)/1);
    display: grid;
    margin: 0 auto;
    width: 12em;
    height: 12em;
    animation: t 60s linear; /* Removed 'infinite' keyword */
}

.countdown::after {
    grid-column: 1;
    grid-row: 1;
    place-self: center;
    font: 3em/2 ubuntu mono, consolas, monaco, monospace;
    counter-reset: s var(--s);
    content: "0:" counter(s, decimal-leading-zero);
}

@keyframes t {
    to {
        --t: 0;
    }
}

svg {
    grid-column: 1;
    grid-row: 1;
}

[r] {
    fill: none;
    stroke: silver;
}

[r] + [r] {
    --k: calc(var(--t)/60);
    transform: rotate(-90deg);
    stroke-linecap: round;
    stroke: color-mix(in hsl shorter hue, rgba(255,51,0,0.8) calc(var(--k)*100%), rgba(255,51,0,0.74));
    stroke-dasharray: var(--k) 1;
}

/* Hide countdown when animation timer reaches 0:00 */
.countdown.finished {
    animation: fadeOut 0.5s ease forwards;
    opacity: 0;
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0;
}

@keyframes fadeOut {
    0% {
        opacity: 10;
    }
    100% {
        opacity: 0;
    }
}

/* Preloader */


svg {
    width: 100%;
    height: 100%;

}
.preloader {
    position: absolute;
    width: 102px;
    height: 102px;
    left: 50%;
    top: 50%;
    min-height: 102px;
    transform: translateX(-50%) translateY(-50%);
}
.preloader .small-circle {
    stroke-dasharray: 210;
    stroke-dashoffset: 210;
    transform-origin: 50%;
    animation: 1s draw-small infinite alternate;
}
@keyframes draw-small {
    0% { stroke-dashoffset: 0; transform: rotate(0deg); }
    100% { stroke-dashoffset: 210; transform: rotate(360deg); }
}
.preloader .big-circle {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    transform-origin: 50%;
    animation: 1s draw-big infinite alternate 0.5s;
}
@keyframes draw-big {
    0% { stroke-dashoffset: 0; transform: rotateY(180deg) rotate(360deg); }
    100% { stroke-dashoffset: 240; transform: rotateY(180deg) rotate(0deg); }
}

input.error,
textarea.error {
    border: 2px solid red;
}
/* End Timer Styling  ------------------------------*/


/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 50%;
    padding: 10px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

















/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/
/*=======================================================================================================================*/

















































































































.datepicker{
    z-index:99999 !important;
}

.s-error{
    color:red;
    font-size: 15px !important;
    font-weight: 600;
}

#minutes, #seconds, .d-separator, .d-warning{
    color: rgba(255,51,0,0.8);
    font-size:30px;
}

.d-warning{
    font-size:14px;
    color:#333;
    font-weight:500;
}

.d-container, .d-container-info{
    padding:4px;
    background-color:#f8f8f8;
    border-radius:3px;
}

.d-container-info{
    display:none;
    font-style:italic;
    margin-bottom: 10px;
}

.d-container p{
    font-size: 18px;
    font-weight: 600;
}
#confirmation-timer{
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
}




.group-btn{
    display: flex;
    justify-content: space-between;
}

sup {
    font-size: 20px;
}


.dosha-row {
    display: flex;
    justify-content: center; /* Centers the columns within the row */
}

.dosha-columns-wrapper {
    display: flex;
}

.dosha-col {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 15px;
    background: rgba(255,51,0,0.8);
    border-radius: 23px;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    width: 300px; /* Adjust width as needed */
}

.dosha-package-image img {
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.dosha-package-desc {
    background: rgba(255,51,0,0.8);
    /*padding: 35px 0;*/
    padding-top: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;
    flex-grow: 1; /* Ensures .package-desc fills remaining space */
}

.dosha-package-desc h3 {
    color: #fff;
}

.dosha-package-desc p {
    color: #FFFFFF;
    text-align: center;
    width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
    padding-bottom: 10px;
}

.dosha-button-container {
    text-align: center;
    padding: 15px; /* Adjust padding to align with visual design */
}

.dosha-package-btn {
    width: 50%;
    background: #fff;
    font-weight: 500;
    font-size: 15px;
    color: rgba(255,51,0,0.8);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 0 auto;
    display: block;
    transition: all 0.3s linear;
}



































.s-customer-payment {
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(255,51,0,0.8); /* Orange border for consistency */
    padding: 20px;
    margin-top: 12px;
    border-radius: 12px; /* More rounded corners for modern look */
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: #fff; /* White background for contrast */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.s-customer-payment:hover {
    border-color: #e62e00; /* Darker orange on hover */
    transform: translateY(-5px); /* Slight upward movement on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}









.signUpPayment {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to the top */
    height: 100vh;
    background: #f8f8f8; /* Light grey background for a clean look */
    padding: 20px; /* Add some padding around the content */
    box-sizing: border-box; /* Ensures padding doesn’t affect the total width/height */
}

.signUpPayment .content {
    background: #ffffff; /* White background for content section */
    border-radius: 16px; /* Smooth rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 40px; /* Adequate padding inside the content box */
    width: 100%;
    max-width: 600px; /* Limit the width for a better layout on larger screens */
    text-align: center; /* Center content within the box */
    margin-top: 50px; /* Adjusted margin to move it up a bit */
}

.signUpPayment .header {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Darker text for good contrast */
    margin-bottom: 20px;
}

.signUpPayment .subHeader {
    font-size: 16px;
    color: #666; /* Slightly lighter text for the sub-header */
    margin-bottom: 30px;
}

/* Media Queries for Small Devices (Phones and Tablets) */
@media (max-width: 768px) {
    .signUpPayment .content {
        padding: 30px; /* Less padding for smaller screens */
        margin-top: 30px; /* Reduce the top margin */
        max-width: 90%; /* Allow more width on small screens */
    }

    .signUpPayment .header {
        font-size: 20px; /* Slightly smaller font size for headers */
    }

    .signUpPayment .subHeader {
        font-size: 14px; /* Smaller font size for sub-headers */
    }
}

@media (max-width: 480px) {
    .signUpPayment .content {
        padding: 20px; /* Even less padding for very small screens */
        margin-top: 20px; /* Further reduce the top margin */
        max-width: 90%; /* Ensure the content doesn’t overflow */
    }

    .signUpPayment .header {
        font-size: 18px; /* Even smaller font size for headers */
    }

    .signUpPayment .subHeader {
        font-size: 12px; /* Smaller font size for sub-headers */
    }
}



.s-customer-payment {
    border: 2px solid rgba(255,51,0,0.8); /* Orange border for consistency */
    padding: 18px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    border-radius: 12px; /* More rounded corners for modern look */
    background-color: #fff; /* White background for contrast */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: all 0.2s ease; /* Smooth transition for hover effect */
}

.s-customer-payment:hover {
    border-color: rgba(255,51,0,0.8); /* Darker orange on hover */
    transform: translateY(-5px); /* Slight upward movement on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

/* Media Queries for Small Devices */
@media (max-width: 768px) {
    .s-customer-payment {
        padding: 16px; /* Slightly reduce padding for tablets */
        font-size: 14px; /* Adjust font size for better readability on smaller screens */
    }
}

@media (max-width: 480px) {
    .s-customer-payment {
        padding: 12px; /* Further reduce padding for small phones */
        font-size: 12px; /* Adjust font size for small screens */
        border-radius: 8px; /* Slightly reduce border-radius for very small devices */
    }
}



/*======================PAYMENT FORM DIV============================================*/


.payment-option {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    border-right: 2px solid rgba(255,51,0,0.8); /* Right border for emphasis */
    border-top: 2px solid rgba(255,51,0,0.8);
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); !* Subtle shadow for depth *!*/
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    margin: 10px;

    /* Background image with reduced opacity using a pseudo-element */
    position: relative; /* Enable positioning for child elements */
    overflow: hidden; /* Hide any overflow from the pseudo-element */

    /* Flexbox layout */
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    justify-content: center; /* Center child elements vertically */
    align-items: center; /* Center child elements horizontally */

    /* Smooth hover effects */
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s ease 0.3s;

    /* Optional: Interactivity */
    cursor: pointer; /* Indicates the div is clickable */
}

/* Add a pseudo-element for the background image */
.payment-option::before {
    content: ''; /* Empty content */
    position: absolute; /* Positioned relative to .payment-option */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/img/bgPay.png'); /* Add background image */
    background-size: 110%; /* Reduce size to 70% */
    /*background-size: cover; !* Cover the entire area *!*/
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating */
    opacity: 0.1; /* Reduce opacity */
    z-index: -1; /* Place it behind the content */
}








.payment-info {
    text-align: center;
    margin-bottom: 20px;
}

.payment-img {
    width: 120px; /* Equal width and height for a round shape */
    height: 120px;
    border-radius: 50%; /* Makes the image circular */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background-color: orange;
    object-fit: cover; /* Ensures the image scales well within the circle */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

/*.payment-img {*/
/*  width: 160px;*/
/*  height: 110px;*/
/*  border-radius: 10px;*/
/*  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);*/
/*  background-color: orange;*/
/*  object-fit: cover; !* Ensures the image scales well within the given dimensions *!*/
/*  transition: transform 0.3s ease, box-shadow 0.3s ease; !* Smooth hover effects *!*/
/*}*/

.payment-img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}


.highlight-text {
    color: #0e9434;
    font-weight: bold;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.italic-text {
    font-weight: bold;
    font-style: italic;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.input-field {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.input-label {
    margin-top: 10px;
}

.message {
    color: black;
    text-align: center;
    margin-top: 10px;
}



/* Button Container Styling */
.promo-button-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

/* Button Styling */
.promo-btn {
    padding: 12px 24px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: rgba(255,51,0,0.8);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}






/*=============================VALIDATION MESSAGES=======================================================*/



#mpesaValidationMessage {
    position: relative;
    top: 6px;
    left: 0;
    width: 100%;
    max-width: 430px;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgb(255, 255, 255), 0 1px 3px rgb(255, 255, 255);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    visibility: hidden; /* Hide initially */
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s; /* Delay visibility change */
}

#mpesaValidationMessage.show {
    visibility: visible; /* Show when the "show" class is added */
    opacity: 1;
    animation: slideInAlt 0.8s forwards, fadeOutAlt 2s 2.5s forwards;
}

@keyframes slideInAlt {
    from {
        transform: translateY(-20px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeOutAlt {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.mpesa_response-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
}

/* Success Message Style */
.mpesa_response-message.success {
    color: #155724;
    border-left: 6px solid #28a745;
    border-bottom: 2px solid #28a745;
}

.mpesa_response-message.error {
    color: #fc0218;
    border-left: 6px solid rgba(255,51,0,0.8);
    border-bottom: 2px solid rgba(255,51,0,0.8);
}

.mpesa_response-message .icon {
    font-size: 18px;
    margin-right: 8px;
}


/*=============================VALIDATION MESSAGES END=======================================================*/



/*===================M-PESA INSTRUCTIONS===========================================================================*/

.mpesa_instruction-message {
    display: none; /* Hidden initially */
    margin-top: -20px;
    margin-bottom: 20px;
    width: 100%; /* Span across the parent div */
    padding: 16px 20px;
    font-family: 'Helvetica', Arial, sans-serif; /* Clean and professional font */
    font-size: 18px;
    font-weight: 500; /* Medium weight for clarity */
    text-align: center; /* Center-align the text */
    color: #ffffff; /* White text for contrast */
    background: linear-gradient(90deg, #34c759, #30b955, #28a745); /* Smooth animated gradient background */
    border-radius: 12px; /* Rounded corners for a modern look */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    z-index: 9999; /* Ensure it appears above other elements */
    position: relative; /* Relative positioning */
    opacity: 0; /* Initially transparent */
    visibility: hidden; /* Initially hidden */
    transform: translateY(10px); /* Slight downward offset for entry effect */
    background-size: 200% 200%; /* For gradient animation */
    transition: opacity 0.30s ease, transform 0.30s ease, visibility 0s linear 0.30s; /* Smooth transitions */
}

/* Show state when visible */
.mpesa_instruction-message.show {
    display: block; /* Make it visible */
    visibility: visible; /* Change visibility */
    opacity: 1; /* Fully opaque */
    transform: translateY(0); /* Slide into position */
    animation: gradientShift 20s infinite, fadeOut 6.5s 20s ease-in forwards; /* Animated gradient and fade-out */
}

/* Gradient shift animation */
@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

/* Fade-out animation */
@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0); /* Maintain position */
    }
    100% {
        opacity: 0;
        transform: translateY(10px); /* Slide slightly down for smooth exit */
    }
}


/*===================M-PESA INSTRUCTION END===========================================================================*/









/*=======Mpesa Loader ======*/

.MpesaLoader {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 1px;
}

.MpesaLoader {
    background: transparent;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.MpesaCircle {
    width: 100px;
    height: 100px;
    border: 2px solid #27c002;
    position: absolute;
    border-radius: 50%;
    animation: circle14512 2s linear infinite;
}

.MpesaCircle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-80%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,51,0,0.8);
    box-shadow: 0 0 40px rgba(255,51,0,0.8), 0 0 60px #1aff00;
}

@keyframes circle14512 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}





/*DPO Loader*/

.DPOLoader {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 1px;
}

.DPOLoader {
    background: transparent;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.DPOCircle  {
    width: 100px;
    height: 100px;
    border: 2px solid #27c002;
    position: absolute;
    border-radius: 50%;
    animation: circle14513 2s linear infinite;
}

.DPOCircle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-80%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,51,0,0.8);
    box-shadow: 0 0 40px rgba(255,51,0,0.8), 0 0 60px #1aff00;
}

@keyframes circle14513 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
















.mpesaFailInstruction {
    opacity: 0;
    transform: translateY(-20px);
    background-color: #f8dfdf; /* Light red background */
    color: #fc0202; /* Dark red text */
    font-size: 16px ;
    padding: 12px;
    border-radius: 8px;
    margin-top: -60px;
    border-left:2px solid rgba(255,51,0,0.8);
    border-bottom: 2px solid rgba(255,51,0,0.8);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Smooth hover/focus effects */
    box-shadow: 0 4px 8px rgba(231, 228, 228, 0.2); /* Subtle shadow for depth */
    text-align: center; /* Center-align text */
}

/* When the message is active */
.mpesaFailInstruction.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}













.PaymentDisabled {
    pointer-events: none; /* Disable interactions */
    opacity: 0.5;         /* Dim the appearance */
    background-color: #ccc;
}

.PaymentActive {
    pointer-events: auto; /* Enable interactions */
    opacity: 1;           /* Full opacity for active state */
    background-color: #fff;
}











#install-date-0535:focus + #survey-label {
    text-decoration: underline;
}



/*=======================================PACKAGE COMPARISON TOGGLE STYLES=============================================*/





/*=======================================PACKAGE COMPARISON TOGGLE STYLES END=============================================*/






/*=========================SAVE SCHEDULE UI============================================================*/


/* Header Section */
#s-schedule .schedule-header {
    text-align: center;
    margin-bottom: 10px;
}

#s-schedule .schedule-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#s-schedule .schedule-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Status Cards */
#s-schedule .status-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#s-schedule .status-card {
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 4px solid;
}

#s-schedule .status-card.warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left-color: rgba(255,51,0,0.8);
    color: #856404;
}

#s-schedule .status-card.processing {
    background: linear-gradient(135deg, #cce7ff, #b3d9ff);
    border-left-color: #004085;
    color: #004085;
}

#s-schedule .status-card i {
    font-size: 20px;
    flex-shrink: 0;
}

/* Timer Section */
#s-schedule .timer-container {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#s-schedule .timer-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#s-schedule .timer-label {
    font-size: 14px;
    color: rgba(255,51,0,0.8);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

#s-schedule .timer {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,51,0,0.8);
    font-family: 'Courier New', monospace;
}

#s-schedule .timer-extension-btn {
    padding: 12px 20px;
    background: rgba(255,51,0,0.8);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#s-schedule .timer-extension-btn:hover:not(:disabled) {
    background: #e62e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 0, 0.3);
}

#s-schedule .timer-extension-btn:disabled {
    background: rgba(255,51,0,0.8);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Section */
#s-schedule .schedule-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

#s-schedule .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#s-schedule .form-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Input and Select Styling */
#s-schedule input[type="date"],
#s-schedule .form-select,
#s-schedule .form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#s-schedule input[type="date"]:focus,
#s-schedule .form-select:focus,
#s-schedule .form-input:focus {
    border-color: rgba(255,51,0,0.8);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.1);
    background: white;
}

#s-schedule input[type="date"]:disabled,
#s-schedule .form-select:disabled,
#s-schedule .form-input:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #e9ecef;
}

/* Date Input Specific Styling */
#s-schedule input[type="date"] {
    cursor: pointer;
}

#s-schedule input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    background: rgba(255,51,0,0.8);
}

#s-schedule input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background: #e62e00;
}

/* Select Dropdown Styling */
#s-schedule .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 45px;
    cursor: pointer;
}

/* Message Styling */
#s-schedule .error-message,
#s-schedule .validation-message {
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

#s-schedule .error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#s-schedule .validation-message {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}





/* Conditional Sections */
#s-schedule #Installation-sales-referral-section,
#s-schedule #Installation-referral-section {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States for Accessibility */
#s-schedule input:focus,
#s-schedule select:focus,
#s-schedule button:focus {
    outline: 2px solid rgba(255,51,0,0.8);
    outline-offset: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /*#s-schedule {*/
    /*    padding: 0px 0px;*/
    /*}*/

    #s-schedule .schedule-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    #s-schedule .timer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    #s-schedule .timer {
        font-size: 24px;
    }

    #s-schedule .schedule-form {
        padding: 20px;
    }

    #s-schedule .button-container {
        flex-direction: column;
    }

    #s-schedule .status-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Loading States */
#s-schedule .fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optional Field Indicators */
#s-schedule .form-label:after {
    content: attr(data-required);
    color: rgba(255,51,0,0.8);
    margin-left: 4px;
}

#s-schedule .form-label[for*="optional"]:after {
    content: " (Optional)";
    color: #6c757d;
}




/*=========================SAVE SCHEDULE UI END============================================================*/












.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}




#package-ui {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#package-ui.active {
    opacity: 1;
    transform: translateY(0);
}















/*==========SCHEDULER STYLES FOR BOTH HOME SECURITY AND COMMERCIAL SECURITY=================*/


/* Modern Installation Schedule Styling */

/* Reset and base styles */
* {
    box-sizing: border-box;
}

/* Main containers */
.s-customer-schedule,
.commercial-schedule-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.schedule-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 32px;
    width: 100% !important;
}

/* Headers */
.home-header,
.schedule-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f8f9fa;
}

.home-title,
.schedule-title {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,51,0,0.8);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.home-subtitle,
.schedule-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Status Cards */
.status-cards {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-card {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
}

.status-card.warning {
    background: #fff5f3;
    border-left-color: rgba(255,51,0,0.8);
    color: #d63384;
}

.status-card.processing {
    background: #e8f4fd;
    border-left-color: #0ea5e9;
    color: #0369a1;
    display: none;
}

.status-card.processing.show {
    display: block;
}

.status-card p {
    margin: 0;
}

/* Timer Section */
.timer-container {
    background: linear-gradient(135deg, rgba(255,51,0,0.8) 0%, #ff4500 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timer-label {
    font-size: 16px;
    font-weight: 500;
}

.timer {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.timer-extension-btn {
    background: rgb(255, 51, 0);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timer-extension-btn:hover {
    background: rgb(255, 51, 0);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Form Styling */
.home-form,
.schedule-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    position: relative;
}

.info-tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: rgba(255,51,0,0.8);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    margin-left: 6px;
    cursor: help;
}

.info-tooltip::before {
    content: "?";
}

/* Input Styling */
.form-date-picker,
.form-select,
.form-input {
    width: 100% !important;
    height: 48px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s ease;
}

.form-date-picker:focus,
.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: rgba(255,51,0,0.8);
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.1);
}

.form-date-picker:hover,
.form-select:hover,
.form-input:hover {
    border-color: rgba(255,51,0,0.8);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 44px !important;
    appearance: none;
}

.date-picker-container {
    width: 100% !important;
}

/* Referral Sections */
.referral-sections {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Error and Validation Messages */
.error-message,
.validation-message {
    color: #dc2626;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    display: none;
}

.error-message.show,
.validation-message.show {
    display: block;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 32px;
}

.primary-btn {
    background: linear-gradient(135deg, rgba(255,51,0,0.8) 0%, #ff4500 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 0, 0.3);
}

.primary-btn:active {
    transform: translateY(0);
}

.primary-btn .loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .schedule-container {
        padding: 24px 20px;
        border-radius: 12px;
        margin: 16px;
    }

    .home-title,
    .schedule-title {
        font-size: 24px;
    }

    .timer-container {
        flex-direction: column;
        text-align: center;
    }

    .timer-display {
        flex-direction: column;
        gap: 8px;
    }

    .timer {
        font-size: 20px;
    }

    .primary-btn {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .schedule-container {
        margin: 8px;
        padding: 20px 16px;
    }

    .home-title,
    .schedule-title {
        font-size: 20px;
    }

    .form-date-picker,
    .form-select,
    .form-input {
        height: 44px !important;
        font-size: 16px !important;
    }
}

/* Focus and accessibility improvements */
.primary-btn:focus,
.timer-extension-btn:focus {
    outline: 2px solid rgba(255,51,0,0.8);
    outline-offset: 2px;
}

.form-date-picker:invalid {
    border-color: #dc2626;
}

.form-select option {
    padding: 8px;
}

/* Animation for status cards */
.status-card {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}







/*COOKIE CONSENT BANNER STYLE*/



/*<!-- Cookie Consent Banner Styles -->*/
/*<style>*/
/* Cookie Consent Banner Variables */


/* Banner container with enhanced animations */
#csp-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--cookie-primary-navy) 0%, #062a52 100%);
    color: var(--cookie-white);
    border-radius: var(--cookie-radius-lg);
    padding: 24px 28px;
    display: flex;
    gap: 24px;
    align-items: center;
    box-shadow: var(--cookie-shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(120%) scale(0.95);
    opacity: 0;
    transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 99999;
    max-width: 1200px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

#csp-banner.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#csp-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cookie-primary-orange), #ff5722);
    border-radius: var(--cookie-radius-lg) var(--cookie-radius-lg) 0 0;
}

#csp-banner .content{
    flex: 1 1 auto;
    min-width: 0;
}

#csp-banner h4{
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-icon {
    width: 20px;
    height: 20px;
    fill: var(--cookie-primary-orange);
}

#csp-banner p{
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
}

/* Enhanced actions */
.csp-actions{
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.csp-btn{
    background: transparent;
    border: 0;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
    font-family: inherit;
}

.csp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 600ms;
}

.csp-btn:hover::before {
    left: 100%;
}

.csp-btn.primary{
    background: linear-gradient(135deg, var(--cookie-primary-orange), #ff5722);
    color: var(--cookie-white);
    box-shadow: 0 4px 15px rgba(255, 51, 0, 0.3);
}

.csp-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 0, 0.4);
}

.csp-btn.ghost{
    background: transparent;
    color: var(--cookie-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.csp-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.csp-btn.tertiary{
    background: var(--cookie-white);
    color: var(--cookie-primary-navy);
    border: 1px solid var(--cookie-border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.csp-btn.tertiary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced modal */
.csp-modal-backdrop{
    position: fixed;
    inset: 0;
    background: var(--cookie-bg-overlay);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
    opacity: 0;
    transition: opacity 300ms ease;
}

.csp-modal-backdrop.show{
    display: flex;
    opacity: 1;
}

.csp-modal{
    width: 100%;
    max-width: 800px;
    background: var(--cookie-white);
    color: var(--cookie-text-dark);
    border-radius: var(--cookie-radius-lg);
    padding: 32px;
    box-shadow: var(--cookie-shadow-strong);
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid var(--cookie-primary-orange);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.csp-modal-backdrop.show .csp-modal {
    transform: scale(1) translateY(0);
}

.csp-modal h3{
    margin: 0 0 16px 0;
    font-size: 24px;
    color: var(--cookie-primary-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}

.csp-modal > p {
    color: var(--cookie-text-muted);
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.5;
}

.csp-cats{
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.csp-cat{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: var(--cookie-radius);
    border: 2px solid var(--cookie-border-light);
    background: #fafbfc;
    transition: all 300ms ease;
}

.csp-cat:hover {
    border-color: var(--cookie-primary-orange);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 30, 66, 0.1);
}

.csp-cat.disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.csp-cat-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--cookie-primary-navy);
}

.csp-cat-info p {
    margin: 0;
    font-size: 14px;
    color: var(--cookie-text-muted);
    line-height: 1.4;
}

.csp-toggle{
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Custom checkbox styling */
.csp-toggle input[type=checkbox] {
    width: 20px;
    height: 20px;
    appearance: none;
    border: 2px solid var(--cookie-primary-navy);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 200ms ease;
}

.csp-toggle input[type=checkbox]:checked {
    background: var(--cookie-primary-orange);
    border-color: var(--cookie-primary-orange);
}

.csp-toggle input[type=checkbox]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.csp-toggle input[type=checkbox]:disabled {
    background: var(--cookie-text-muted);
    border-color: var(--cookie-text-muted);
    cursor: not-allowed;
}

.csp-toggle input[type=checkbox]:disabled::after {
    color: white;
}


/* Status indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.status-indicator.required {
    background: rgba(16, 185, 129, 0.1);
    color: var(--cookie-success);
}

.status-indicator.optional {
    background: rgba(245, 158, 11, 0.1);
    color: var(--cookie-warning);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #csp-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 20px;
    }

    .csp-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .csp-btn {
        width: 100%;
        min-width: auto;
    }

    .csp-modal {
        padding: 24px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }

    .csp-cat {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .csp-toggle {
        align-self: flex-end;
    }
}



/* Animation for banner entrance */
@keyframes slideUpBounce {
    0% {
        transform: translateY(120%) scale(0.95);
        opacity: 0;
    }
    60% {
        transform: translateY(-10px) scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

#csp-banner.show {
    animation: slideUpBounce 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/*</style>*/







/*COMMERCIAL STYLE*/
















/*======================================COMMERCIAL DETAILS================================*/

.sga_form_full_width_margin label {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    display: block;
    font-weight: 200;
    margin-bottom: 4px;
    color: #2c3e50;
    align-items: center;
    gap: 4px;
}

.sga_form_full_width_margin input {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.sga_form_full_width_margin input:focus {
    border-color: rgba(255,51,0,0.8);
}

.error {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    display: block;
    color: rgba(255,51,0,0.8);
    font-size: 14px;
    margin-top: 5px;
    align-items: center;
    gap: 5px;
}

.confirmation-container {
    display: flex;
    align-items: center;
    margin: 12px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid rgba(255,51,0,0.8);
}

.confirmation-container label {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.confirmation-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 0 0 10px;
    accent-color: rgba(255,51,0,0.8);
    cursor: pointer;
}



/*======================================COMMERCIAL ADDRESS================================*/





.mandatory-note {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sga_form_inline {
    display: flex;
    /*gap: 20px;*/
    margin-bottom: 20px;

    /*added styling*/
    gap: 16px;
    flex-wrap: wrap;
}

.sga_form_inline .input-wrapper {
    flex: 1 1 300px; /* responsive break */
}

.sga_form_full_width_margin {
    flex: 1;
    margin-bottom: 10px;
}

.sga_form_full_width_margin label {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    display: block;
    font-weight: 400;
    margin-bottom: 4px;
    color: #2c3e50;
    align-items: center;
    gap: 8px;
}

.sga_form_full_width_margin input {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.sga_form_full_width_margin input:focus {
    border-color: rgba(255,51,0,0.8);
}

.company-label {
    /*font-style: italic;*/
    font-size: 1.3rem;
    margin-left: 6px;
}

.error {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    display: block;
    color: rgba(255,51,0,0.8);
    font-size: 14px;
    margin-top: 5px;
    align-items: center;
    gap: 5px;
}

.confirmation-container {
    display: flex;
    align-items: center;
    margin: 25px 13px;
    padding: 15px;
    /*background: #f8f9fa;*/
    /*border-radius: 8px;*/
    /*border-left: 4px solid rgba(255,51,0,0.8);*/
}

.confirmation-container label {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.confirmation-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 0 0 10px;
    accent-color: rgba(255,51,0,0.8);
    cursor: pointer;
    font-size: 16px;
}


@media (max-width: 768px) {
    .sga_form_inline {
        flex-direction: column;
        gap: 0;
    }

    .sga_form_full_width_margin {
        min-width: 100%;
    }


    .confirmation-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .confirmation-container input[type="checkbox"] {
        margin: 0;
    }
}

/* Additional styling for icons */
label i {
    width: 20px;
}

#company-commercial-error-address {
    display: block;
    color: rgba(255,51,0,0.8);
    margin-bottom: 15px;
    font-weight: 500;
}




/*======================================COMMERCIAL PACKAGES================================*/





.package-info {
    margin-top: 10px;
}

.package-selected {
    margin-bottom: 20px;
    text-align: center;
}

.package-selected-h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 24px;
}

.packageSelected_checkBox {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.packageSelected_checkBox:focus {
    border-color: rgba(255,51,0,0.8);
}







/* .cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item label {
    font-weight: 500;
    color: rgba(255,51,0,0.8);
}

.price {
    font-weight: 700;
    color: rgba(255,51,0,0.8);
} */

.package-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.package-column {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    border-radius: 10px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);*/
}








.package-column h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.package-column ul {
    list-style: none;
}

.package-column ul li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-column ul li:last-child {
    border-bottom: none;
}

.package-column ul li i {
    margin-right: 12px;
    font-size: 18px;
    margin-top: 3px;
    min-width: 24px;
}

.font-black {
    color: #2c3e50 !important;
}

.font-black li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/*.space-20 {*/
/*  height: 20px;*/
/*}*/







.extra-info {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.extra-info h3 {
    color: #2c3e50;
    font-weight: 500;
}















.checkbox-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start; /* Changed to start */
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 8px;
}

.checklist-new {
    width: 18px;
    height: 18px;
    accent-color: rgba(255,51,0,0.8);
    margin-top: 3px; /* Adjusted for perfect alignment */
    grid-column: 1;
    align-self: start; /* Ensure checkbox stays at top */
}

.checkbox-item label {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    line-height: 1.4;
    margin: 0; /* Remove default margin */
}

.checkbox-item label i {
    color: rgba(255,51,0,0.8);
    font-size: 16px;
    min-width: 20px;
    flex-shrink: 0;
    margin-top: 1px; /* Fine-tune icon alignment */
}




@media (max-width: 768px) {
    .package-row {
        flex-direction: column;
    }

    .package-column {
        min-width: 100%;
    }

    .container {
        padding: 20px;
    }
}


/*============================================================================================================*/
/*======================================COMMERCIAL PAYMENT================================*/




/*======================================COMMERCIAL THANK YOU================================*/


















































































/* Enterprise Software Buttons - Orange Theme */
.previous.action-button,
.next.action-button {
    padding: 14px 56px !important;
    font-size: 1.0rem !important;
    font-weight: 600 !important;
    border: 1px solid !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    min-width: 360px !important;
    height: 52px !important;
    background: #ffffff !important;
}

/* Previous - Secondary Action */
.previous.action-button {
    color: #666666 !important;
    border-color: #cccccc !important;
    background: #fafafa !important;
}

.previous.action-button:hover {
    color: #333333 !important;
    border-color: #999999 !important;
    background: #f0f0f0 !important;
}

/* Next - Primary Action (Orange) */
.next.action-button:not(:disabled):not(.disabled),
.next.action-button.enabled {
    color: #ffffff !important;
    border-color: rgba(255,51,0,0.8) !important;
    background: rgba(255,51,0,0.8) !important;
}

.next.action-button:not(:disabled):not(.disabled):hover,
.next.action-button.enabled:hover {
    background: #e62e00 !important;
    border-color: #e62e00 !important;
    box-shadow: 0 2px 8px rgba(255, 51, 0, 0.3) !important;
}

/* Success - Positive Action (Orange Success) */
.next.action-button.enabled[value*="PROCEED"],
.next.action-button.enabled[value*="BOOK SURVEY"] {
    border-color: rgba(255,51,0,0.8) !important;
    background: rgba(255,51,0,0.8) !important;
    position: relative !important;
}

.next.action-button.enabled[value*="PROCEED"]::after,
.next.action-button.enabled[value*="BOOK SURVEY"]::after {
    content: '✓' !important;
    margin-left: 8px !important;
    font-weight: bold !important;
}

.next.action-button.enabled[value*="PROCEED"]:hover,
.next.action-button.enabled[value*="BOOK SURVEY"]:hover {
    background: #e62e00 !important;
    border-color: #e62e00 !important;
    box-shadow: 0 2px 8px rgba(255, 51, 0, 0.4) !important;
}

/* Disabled State */
.next.action-button:disabled,
.next.action-button.disabled {
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    background: #f3f4f6 !important;
    cursor: not-allowed !important;
}

/* Focus States for Accessibility */
.previous.action-button:focus,
.next.action-button:focus {
    outline: 2px solid rgba(255,51,0,0.8) !important;
    outline-offset: 2px !important;
}

/* Active State */
.next.action-button:not(:disabled):not(.disabled):active,
.next.action-button.enabled:active {
    background: rgba(255,51,0,0.8) !important;
    border-color: rgba(255,51,0,0.8) !important;
    transform: translateY(1px) !important;

}


/* Enterprise Button Container - Orange Theme */
.button-container {
    display: flex !important;
    gap: 32px !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 48px !important;
    flex-wrap: wrap !important;
    padding: 36px !important;
    /*background: #ffffff !important;*/
    /*border: 1px solid #e5e7eb !important;*/
    /*border-radius: 8px !important;*/
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;*/
    /*border-top: 3px solid rgba(255,51,0,0.8) !important;*/
}

/* Professional Status Messages - Orange Theme */
.processing-message {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 16px !important;
    color: rgba(255,51,0,0.8) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    font-family: "Segoe UI", sans-serif !important;
}

.loading-spinner-small {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #62bd44 !important;
    border-top: 2px solid rgba(255,51,0,0.8) !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

.error-message {
    margin-top: 16px !important;
    padding: 14px 20px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid rgba(255,51,0,0.8) !important;
    border-radius: 4px !important;
    color: #dc2626 !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

.success-message {
    margin-top: 16px !important;
    padding: 14px 20px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 4px solid rgba(255,51,0,0.8) !important;
    border-radius: 4px !important;
    color: #166534 !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

@keyframes spin {
    0% { transform: rotate(0deg) !important; }
    100% { transform: rotate(360deg) !important; }
}

/* Progress Indicator */
.progress-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    font-size: 0.9rem !important;
    color: #6b7280 !important;
}

.progress-step {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.progress-step.active {
    background: rgba(255,51,0,0.8) !important;
    color: #ffffff !important;
}

.progress-step.completed {
    background: #10b981 !important;
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .previous.action-button,
    .next.action-button {
        padding: 12px 40px !important;
        min-width: 300px !important;
        height: 50px !important;
        font-size: 0.95rem !important;
    }

    .button-container {
        gap: 24px !important;
        margin-top: 36px !important;
        padding: 28px 20px !important;
    }
}

@media (max-width: 480px) {
    .previous.action-button,
    .next.action-button {
        min-width: 280px !important;
        padding: 12px 32px !important;
        height: 48px !important;
    }

    .button-container {
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 32px !important;
        padding: 24px 16px !important;
    }
}











/*close button on alerts*/

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    text-decoration: none;
    z-index: 1000;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.modal-close-button:hover {
    color: rgba(255,51,0,0.8);
    background: #f5f5f5;
}

/* Ensure alert close buttons don't trigger modal close */
.custom-alert-close {
    position: static !important;
}