@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
  overflow-x: hidden;
}
body, p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
}
/* Reset WordPress/Gutenberg styles that might interfere */
.wp-block-group.has-global-padding,
.wp-block {
    padding: 0 !important;
    margin: 0 !important;
}
.py-0 {
    padding: 0px !important;
}

/* Main wrapper - improved centering */
.wp-block-group > .solar-calculator-wrapper,
.solar-calculator-wrapper {
    width: 100vw;
    position: relative;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* min-height: 100vh; */
    /* display: flex; */
    align-items: center;
    justify-content: center;
    /* padding: 40px 20px; */
    text-align: center;
    /* min-height: 86vh; */
    display: flex;
    align-items: center;
    justify-content: center;
	padding-top: 150px;
}
.bg-singapore {
    background-image: url('../images/singapore.jpg');
}
.bg-malaysia {
    background-image: url('../images/malaysia.jpg');
}
/* Dashboard container - proper flexbox layout */
.dashboard {
    display: flex;
    /* gap: 40px; */
    /* max-width: 1200px; */
    width: 100%;
    align-items: stretch;
    justify-content: center;
}

.hidden {
    display: none !important;
}
/* Remove the old row styles that were causing layout issues */
.dashboard.row {
    /* display: flex;  */
    flex-wrap: nowrap; 
    /* min-height: 570px; */
    /* height: 60vh; */
}
.dashboard.hidden {
    display: none;
}

/* Form styling improvements */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.custom-select select,
.solar-card input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' width='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.custom-select select:focus,
.solar-card input:focus {
    outline: none;
    border-color: #fdb835;
    box-shadow: 0 0 0 3px rgba(253, 184, 53, 0.1);
}

.solar-card button,
.btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 25px;
    background-color: #fdb835;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn.close {
    font-size: 16px;
}
.btn.close:hover {
    background-color: #fdb835;
}
.close[aria-label="close-popup-button"] {
  color: white;
  cursor: pointer;
}
.solar-card button:hover {
    background-color: #fca500;
    transform: translateY(-2px);
}

.solar-card button:active {
    transform: translateY(0);
}
.wpcf7-form .input-group > p {
    margin: 0;
    display: contents; /* or display: flex; for some layouts */
}

/* Responsive design */
@media (max-width: 992px) {
    .wp-block-group > .solar-calculator-wrapper,
    .solar-calculator-wrapper {
        /* padding: 30px 15px; */
    }
    
    .dashboard {
        /* gap: 30px; */
    }
}

@media (max-width: 768px) {
    .wp-block-group > .solar-calculator-wrapper,
    .solar-calculator-wrapper {
        /* padding: 50px 10px; */
    }
    
    .dashboard {
        flex-direction: column;
        /* gap: 20px; */
        align-items: center;
    }
    
    .card {
        max-width: 100%;
        width: 100%;
    }
    
    .left-card h1 {
        font-size: 1.75rem;
    }
    
    .solar-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .left-card h1 {
        font-size: 1.5rem;
    }
    
    .solar-card h2 {
        font-size: 1.3rem;
    }
}
@media (max-width: 400px) {
	.form-map .elementor-kit-6 button {
		padding: 0px;
	}
}

/* Keep all your existing step/wizard styles below this point */
#solar-calculator-container {
    background: white;
    /* border-radius: 20px; */
    /* padding: 0 100px 50px 100px; */
    /* max-width: 1000px; */
    margin: 0 auto;
    position: relative;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    /* height: 500px; */
    text-align: left;
    width: 100%;
}
.form-step:not([data-step="7"]) {
  /* padding: 0 100px 50px 100px; */
}
.form-step[data-step="7"] {
    display: flex;
    /* width: 100vw; */
    /* position: fixed; */
    left: 0;
}
.step-container {
  min-height: 550px;
  /* height: 60vh; */
}

/* Form Styling */
#calculator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group.full-width {
    flex-basis: 100%;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group select {
    padding: 7px 15px;
    /* border: 1px solid #ccc; */
    /* border-radius: 25px; */
    font-size: 15px;
}
.dashboard .form-group input[type="text"],
.dashboard .form-group input[type="number"],
.dashboard .form-group input[type="email"],
.dashboard .form-group select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 15px;
}

.radio-group label {
    margin-bottom: 10px;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.radio-options input[type="radio"] {
    margin-right: 5px;
}

.radio-options label {
    font-weight: normal;
    font-size: 16px;
    display: flex;
    align-items: center;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0 !important;
	opacity: 1;
}

#map-section h3 {
    margin-top: 0;
}

#calculate-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#calculate-btn:hover {
    background-color: #e67e00;
}

/* Results Styling */
#calculator-results {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
}

.results-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.result-box {
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.result-box span {
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 8px;
}

.result-box strong {
    font-size: 22px;
    color: #007cff;
}

.result-box.price-box strong {
    color: #28a745;
    font-size: 26px;
}

.results-action {
    text-align: center;
    margin-top: 20px;
}

.add-to-cart-button {
    display: inline-block;
    background-color: #28a745;
    color: #fff !important;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.add-to-cart-button:hover {
    background-color: #218838;
}

.error-text {
    color: #d9534f;
    font-weight: bold;
    text-align: center;
}

.disclaimer {
    margin-top: 25px;
    font-size: 12px;
    color: #777;
    text-align: center;
}

/* Step Indicator */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    top: -10px;
    width: 98%;
    margin: 0 auto;
    z-index: 9;
}

.progressbar::before,
.progress {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #1f75cb;
    z-index: -1;
}

.progress {
    background-color: orange;
    width: 0%;
    transition: 0.3s;
}

.progress-step {
    width: 20px;
    height: 20px;
    background-color: #1f75cb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.85rem;
    color: #666;
}

.progress-step-active {
    background-color: orange;
    color: #f3f3f3;
}

/* Step Content */
.form-step {
    display: none;
    /* animation: fadeIn 0.3s ease; */
}
.form-step h2 {
    font-weight: 700;
    padding-bottom: 20px;
}

.form-step.form-step-active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Option Grid */
.option-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom per baris */
    grid-auto-rows: 1fr; /* ini bikin semua baris sama tinggi */
    gap: 20px;
}
.option-group.single {
    grid-template-columns: 1fr;
}

.step-2-grid {
    grid-template-columns: repeat(2, 1fr);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.option-box {
    background: #f5fafe;
    border: 1px solid #f5fafe;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* ini penting agar kotak isi penuh tinggi cell grid */
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgb(209 232 248);
    /* min-height: 100px; */
}
.option-group.single .option-box {
    width: 50%;
    margin: 0 auto;
    aspect-ratio: 5/1;
}
.step-2-grid .option-box {
    /* aspect-ratio: 5 / 2; */
    align-content: center;
    padding: 30px;
}

.option-box:hover {
    border-color: #93b9d0;
    background-color: #e4eff4;
}

.option-box input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.option-content img {
    max-height: 50px;
    height: auto;
    object-fit: contain;
}

.option-content span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.option-box:has(input[type="radio"]:checked) {
    border-color: #93b9d0;
    background-color: #e4eff4;
}
.page-title{
    text-align: right;
    width: 100%;
    font-size: 3rem;
    font-weight: 100;
    padding-right: 10px;
    padding-top: 10px;
    line-height: 1;
    color: lightgray;
}
/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 20px;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px 0px 20px;
}
.page-content {
    padding: 0 50px 50px 50px;
}
.form-map .step-navigation{
    padding-left: 100px;
    /* top: max(56vh, 530px); */
    bottom: 20px;
    position: absolute;
}

.step-navigation.single {
    justify-content: flex-end;
}

.prevBtn, .nextBtn, .openMaps, .last-step, .prevBtnStep {
    padding: 12px 24px !important;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.prevBtn, .prevBtnStep,
.prevBtn:hover, .prevBtnStep:hover {
    background-color: #2f68c0 !important;
    color: white;
}
.prevBtnStep.top {
    position: absolute;
    top: 0px;
}
.prevBtnStep.bottom {
    position: absolute;
    bottom: 20px;
}

.nextBtn, .openMaps, .last-step,
.nextBtn:hover, .openMaps:hover, .last-step:hover {
    background-color: orange;
    color: white;
}

.nextBtn:disabled {
    color: lightgrey;
    cursor: not-allowed;
    pointer-events: none;
}

.resetBtn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #2f68c0;
}

img.openMaps {
    background: none;
}

.prevBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.input-group span {
    padding: 7px 15px;
    background-color: #eee;
    color: #333;
    font-size: 16px;
    border-right: 1px solid #ccc;
}

.input-group input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
}

.input-group input::placeholder {
    color: #aaa;
}

.form-control {
    padding: 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Utility classes */
.d-flex {
    display: flex;
}

.col-md-12 {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-6 {
    width: 50%;
    float: left;
}
.col-md-6:first-child {
    padding-right: 15px;
}
.col-md-6:second-child {
    padding-left: 15px;
}

.col-md-4 {
    width: 33.33%;
}

.row {
    display: inline-flex;
    /* width: 100vw; */
}

.row::before {
    display: table;
    content: " ";
}


/* Card styling improvements */
.card {
    background: white;
    border-radius: 0;
    padding: 0;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); */
    flex: 1;
    /* max-width: 450px; */
    /* min-width: 300px;  */
    border: none;
}

.dashboard .left-card{
    padding: 70px;
}
.left-card {
    text-align: left;
    position: relative;
}

.left-card h1 {
    font-size: 2rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #333;
}

.left-card .description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.left-card .highlight {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    /* padding: 15px; */
    /* background-color: #f8f9fa; */
    border-radius: 10px;
}

.left-card img {
    width: auto;
    /* height: 185px; */
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Solar card improvements */
.solar-card {
    text-align: center;
}

.solar-card h2 {
    /* font-size: 1.75rem; */
    margin-bottom: 16px;
    font-weight: bold;
    color: #333;
}
.solar-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solar-card > p {
    color: #666;
    font-size: 1rem;
}

.left-card #first-calc-form {
    text-align: left;
}

#first-calc-form div, 
#first-calc-form input
{
  margin-top: 5px;
}
ol {
    margin-top: 0;
}

li, p, label {
    font-size: 16px;
}

.policy {
  font-size: 14px;
  line-height: 1.2rem;
}

.result-container {
    padding-top: 100px;
}

/* All your existing calculator-summary, offer-cards, and other styles remain the same */
.calculator-summary {
    font-family: "Inter", sans-serif;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    /* min-height: 2230px; */
}

.calculator-summary h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.offer-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.offer-toggle button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 20px;
    background: #f1f5f9;
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

.offer-toggle .active {
    background: #ffb836;
    color: #fff;
}

.offer-cards {
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.offer-box {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 3rem 1.5rem;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.offer-box.single {
    width: 80%;
}

.offer-box h3 {
    background: #1597f2;
    color: #fff;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    padding: 1rem 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}

.label {
    color: #555;
    margin: 0.2rem 0 1rem;
}

.monthly {
    font-weight: bold;
    font-size: 2rem;
}

.monthly span {
    display: block;
    font-size: 0.9rem;
    color: #555;
}

.offer-btn {
    background: #ffb836;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 1rem;
    cursor: pointer;
    display: flex;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.offer-benefits {
    list-style: none;
    padding-left: 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
    line-height: 1.8;
    margin-left: 25%;
}

.offer-benefits li {
    font-weight: 700;
}

.offer-benefits li::before {
    content: "✔";
    color: #1597f2;
    margin-right: 0.5rem;
}

.summary {
    border: 1px solid #dce4f2;
    border-radius: 20px;
    padding: 2rem 4rem;
    margin-top: 2rem;
}

.summary h3 {
    margin-bottom: 1rem;
}

.summary-boxes {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 1rem;
}

.summary-boxes .col-md-4, .impact-boxes .col-md-4 {
    padding: 20px;
    flex: 1;
    /* display: flex; */
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
}

.summary-boxes .col-md-4:not(:first-child),
.impact .impact-boxes .col-md-4:not(:first-child) {
    border-left: 1px solid #ccc;
}

.summary-boxes img {
    width: 40px;
    height: auto;
    margin-bottom: 0.5rem;
}

.summary-detail p {
    margin: 0.2rem 0;
}

.savings {
    background: #fff4e2;
    border-radius: 20px;
    padding: 2rem 4rem;
}

.savings h3 {
    margin-bottom: 0.8rem;
}

.savings p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.savings small {
    display: block;
    font-size: 14px;
    color: #777;
    margin-top: 0.8rem;
}

.impact {
    border: 1px solid #dce4f2;
    border-radius: 20px;
    padding: 1.5rem 3rem;
    background-color: #f9f9f9;
}

.impact h3 {
    margin-bottom: 1rem;
}

.impact-boxes {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.impact-boxes img {
    width: 70px;
    height: auto;
    margin-bottom: 0.5rem;
}

.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

small {
    font-size: 14px;
    font-weight: normal;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
	opacity: 1;
	z-index: 1;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 355px;
    background-color: #1597f2;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 25px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    opacity: 0;
    transition: opacity 1s;
    font-size: 12px;
    max-width: 300px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

table tr td,
table tbody>tr:nth-child(odd)>td, 
table tbody>tr:nth-child(odd)>th,
table tbody tr:hover>td, 
table tbody tr:hover>th {
    font-size: 18px;
    border: none;
    background-color: transparent;
    padding: 5px;
}

i {
    color: #1976d2;
    font-size: 14px;
    vertical-align: middle;
}

h3 {
    font-weight: 600;
}

h5 {
    margin: 10px;
}

/* auto complete */
/* Add these styles to your existing CSS file */

/* Autocomplete input styling */
#spc-location {
    position: relative;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='16' width='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px !important;
}

/* Google Places Autocomplete dropdown styling */
.pac-container {
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    border: 1px solid #e1e5e9 !important;
    margin-top: 5px !important;
    font-family: Arial, sans-serif !important;
    z-index: 9999 !important;
}

.pac-item {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.pac-item:last-child {
    border-bottom: none !important;
}

.pac-item:hover {
    background-color: #f8f9fa !important;
}

.pac-item-selected {
    background-color: #fdb835 !important;
    color: white !important;
}

.pac-matched {
    font-weight: bold !important;
}

.pac-icon {
    margin-right: 10px !important;
    width: 16px !important;
    height: 16px !important;
}

.pac-icon-marker {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='16' width='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/></svg>") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* Error styling for location validation */
.location-error {
    color: #d9534f !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    padding: 8px 12px !important;
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    border-radius: 4px !important;
    animation: fadeIn 0.3s ease !important;
}

/* Loading state for location input */
#spc-location.loading {
    background-image: url("data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><circle cx='8' cy='8' r='7' fill='none' stroke='%23666' stroke-width='1' stroke-linecap='round' stroke-dasharray='31.416' stroke-dashoffset='31.416'><animate attributeName='stroke-dasharray' dur='2s' values='0 31.416;15.708 15.708;0 31.416;0 31.416' repeatCount='indefinite'/><animate attributeName='stroke-dashoffset' dur='2s' values='0;-15.708;-31.416;-31.416' repeatCount='indefinite'/></circle></svg>") !important;
}

.spcStartWizard {
    border: none;
}
.spcStartWizard:hover {
    background-color: #fca500 !important;  
}
/* Button disabled state */
.spcStartWizard:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border: none;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  justify-content: center; /* Horizontal center */
 align-items: center;
}

/* Modal Content/Box */
.modal-header {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
.modal-text {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
  border-radius: 15px;
}
#offerModal .modal-content {
    text-align: center;
}
.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.whatsapp-btn {
    background: #25D366;
    color: white !important;
}
.modal-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.cart-btn {
    background: #FFB547;
    color: white;
}
#myModalCondominium .modal-content, 
#myModalHdbFlat .modal-content, 
#offerModal .modal-content,
#solarLimitPopup .modal-content {
    padding: 40px;
    background-color: #fffaeb;
    width: 40%;
}
.modal-footer {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}
.modal-footer .btn {
    font-size: 16px;
    color: #00376e;
    font-weight: 400;
}

/* The Close Button */
.close {
  color: #aaa;
  text-align: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  /* color: black; */
  /* text-decoration: none;
  cursor: pointer;
  background-color: #fdb835; */
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
    background-color: none;
}
.text-center {
  text-align: center !important;
}
.text-error {
    font-size: .75rem;
    line-height: 1rem;
    color: #ef4444;
}
.content-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wpcf7-list-item {
	margin: 0;
}

.commercial-industrial-property-container  .electicity-bill-container {
    .option-card {
        background: white;
        border: 2px solid #e3f2fd;
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .option-card:hover {
        border-color: #2196f3;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .option-card.selected {
        border-color: #2196f3;
        background-color: #f8fdff;
        box-shadow: 0 4px 16px rgba(33, 150, 243, 0.2);
    }

    .option-header {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .radio-button {
        width: 24px;
        height: 24px;
        border: 2px solid #ddd;
        border-radius: 50%;
        position: relative;
        transition: all 0.2s ease;
    }

    .radio-button.checked {
        border-color: #2196f3;
    }

    .radio-button.checked::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 12px;
        background-color: #2196f3;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    .option-text {
        font-size: 1.2rem;
        font-weight: 500;
        color: #2c3e50;
        flex: 1;
    }

    .input-section {
        margin-top: 20px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
    }

    .input-section.show {
        opacity: 1;
        max-height: 100px;
    }

    .input-container {
        display: flex;
        align-items: center;
        gap: 16px;
        background-color: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 16px;
        transition: border-color 0.2s ease;
    }

    .input-container:focus-within {
        border-color: #2196f3;
        box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    }

    .currency-label {
        font-size: 1.5rem;
        font-weight: 600;
        color: #6c757d;
        min-width: 40px;
    }

    .amount-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 1.2rem;
        font-weight: 500;
        color: #2c3e50;
        outline: none;
        padding: 8px 0;
    }

    .amount-input::placeholder {
        color: #adb5bd;
        font-weight: 400;
    }

    /* Responsive design */
    @media (max-width: 480px) {
        h1 {
            font-size: 2rem;
        }
        
        .option-card {
            padding: 20px;
        }
        
        .option-text {
            font-size: 1.1rem;
        }
    }

    /* Animation for smooth transitions */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .input-section.show {
        animation: slideIn 0.4s ease;
    }

    /* Consumption options styles */
    .consumption-options {
        margin-top: 20px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
    }

    .consumption-options.show {
        opacity: 1;
        max-height: 600px;
        animation: slideIn 0.4s ease;
    }

    .consumption-header {
        font-size: 1.1rem;
        font-weight: 500;
        color: #6c757d;
        margin-bottom: 16px;
        text-align: center;
    }

    .consumption-button {
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 24px;
        padding: 16px 20px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }

    .consumption-button:hover {
        border-color: #2196f3;
        background-color: #f0f8ff;
        transform: translateY(-1px);
    }

    .consumption-button.selected {
        border-color: #2196f3;
        background-color: #e3f2fd;
        box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
    }

    .consumption-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2196f3;
        margin-bottom: 8px;
    }

    .consumption-description {
        font-size: 0.95rem;
        color: #6c757d;
        line-height: 1.4;
    }
}

.form-step .col-12:nth-child(2) img
{
    width: auto;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
}
.form-step .col-12:first-child {
    position: relative;
}
.wpcf7-response-output {
    display: none;
}
.wpcf7-form .form-group p {
    margin: 0;
}
.wpcf7-form .form-group label { 
    font-weight: 500;
    font-size: 16px;
}
.form-select {
    padding: 10px;
}
#map,
#map-commercial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments for autocomplete */
@media (max-width: 768px) {
	
	.form-step .col-12:first-child {
		min-height: 500px;
	}
	.d-flex {
        flex-direction: column;
    }
    .modal-footer .btn {
        padding: 10px 20px;
    }
    .tooltip .tooltiptext {
        left: 65%;
        transform: translateX(-50%);
    }
    .pac-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-width: none !important;
    }
    
    .pac-item {
        padding: 15px 16px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
    }

    .solar-calculator-wrapper .col-md-12 {
      padding-left: 0px;
      padding-right: 0px;
    }
    .card {
      width: 100%;
    }
    .left-card .description,
    .left-card .highlight {
      font-size: 14px;
    }
    #solar-calculator-container {
      /* padding: 0 50px 50px 50px; */
      width: 100%;
    }
    .form-step:not([data-step="7"]) {
        /* padding: 50px; */
    }
    .form-map .step-navigation{
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    .landed-house-container .form-step[data-step="8"] .step-navigation,
    .commercial-industrial-property-container .form-step[data-step="7"] .step-navigation
    {
        padding: 0 10px 0px 10px;
    }
    .step-navigation {
      width: 100%;
    }
    .step-2-grid {
      grid-template-columns: 1fr;
    }
    .form-step[data-step="7"] .d-flex {
      flex-direction: column;
    }
    .form-step[data-step="7"] .col-md-6 {
      width: 100%;
      padding: 0;
    }
    .form-step[data-step="8"] {
        /* padding: 20px 20px 40px 20px; */
    }
    img.openMaps {
      padding: 0px;
      border-radius: 0;
    }
    .offer-box {
      margin-bottom: 30px;
    }
    .offer-benefits {
      margin-left: 10px;
    }
    .summary {
      padding: 20px;
    }
    .summary-boxes, .impact-boxes {
      flex-direction: column;
    }
    .summary-boxes .col-md-4, 
    .impact-boxes .col-md-4 {
      width: 100%;
    }
    .summary-boxes .col-md-4:not(:first-child), 
    .impact .impact-boxes .col-md-4:not(:first-child) {
      border: none;
      margin-top: 50px;
    }

    .summary-boxes .col-md-4, .impact-boxes .col-md-4 {
      margin: 0;
      padding: 0;
    }
    .summary-detail {
      margin-top: 50px;
    }
    .savings, .impact {
      padding: 20px;
    }
    .calculator-summary {
      padding: 2rem 20px;
    }
    .dashboard.row {
        height: auto;
    }
    .option-group {
        grid-template-columns: 1fr;
    }
    .step-container {
        height: auto;
    }
    .option-group.single .option-box {
        width: 100%;
    }
    .modal-content {
        width: 90% !important;
    }
    .step-2-grid .option-box {
        aspect-ratio: auto;
    }
    #myModalCondominium .modal-content, 
    #myModalHdbFlat .modal-content, 
    #offerModal .modal-content {
        padding: 20px;
        width: 90%;
        margin-top: 50px;
        max-width: 350px;
    }
    .modal-footer,
    .modal-buttons {
        flex-direction: column;
    }
    #myModalHdbFlat {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .dashboard .left-card {
        padding: 20px;
    }
    .page-content {
        padding: 20px 20px 150px 20px;
    }
}