/* =========================================================
   PEARL SHINE BRAND COLORS
   Primary Orange: #EC6921
   Secondary Hover: #2D6093
   Dark Blue: #07111D
   Text: #5B5B5B
========================================================= */

/* =========================================================
   PEARL SHINE PROJECT ESTIMATOR
========================================================= */

.pspe-estimator{font-family:"Plus Jakarta Sans",sans-serif;color:#07111d;background:#fff;border:1px solid #e7eaf0;border-radius:18px;padding:40px;box-shadow:0 8px 30px rgba(20,45,75,.08);max-width:1100px;margin:0 auto}
.pspe-header{text-align:center;max-width:720px;margin:0 auto 28px}
.pspe-kicker{display:block;font-size:12px;font-weight:600;letter-spacing:1.5px;color:#EC6921;margin-bottom:8px}
.pspe-header h2,.pspe-result-head h3{margin:0 0 10px;font-size:30px;line-height:1.25;font-weight:600;color:#07111d}
.pspe-header p{margin:0;color:#5b5b5b;font-size:16px;line-height:24px;font-weight:500}
.pspe-progress{display:flex;align-items:center;justify-content:center;margin:0 auto 32px;max-width:700px}
.pspe-step{display:flex;align-items:center;gap:7px;color:#8a9299;font-size:13px;font-weight:500;white-space:nowrap}
.pspe-step.is-active{color:#07111d}
.pspe-step b{font-weight:600}
.pspe-line{height:1px;width:70px;background:#dfe3e7;margin:0 12px}
.pspe-step.is-active:before{color:#EC6921}
.pspe-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.pspe-field{display:flex;flex-direction:column}
.pspe-field-full{grid-column:1/-1}
.pspe-field label{margin-bottom:8px;color:#07111d;font-size:14px;line-height:21px;font-weight:600}
.pspe-field label span{color:#8a9299;font-weight:500}
.pspe-field input,.pspe-field select,.pspe-field textarea{width:100%;box-sizing:border-box;border:1px solid #dfe3e7;border-radius:10px;background:#fff;color:#5b5b5b;font-family:"Plus Jakarta Sans",sans-serif;font-size:14px;font-weight:500;line-height:21px;padding:13px 14px;outline:none;transition:border-color .25s ease,box-shadow .25s ease}
.pspe-field input,.pspe-field select{height:50px}
.pspe-field textarea{resize:vertical;min-height:110px}
.pspe-field input:focus,.pspe-field select:focus,.pspe-field textarea:focus{border-color:#EC6921;box-shadow:0 0 0 3px rgba(244,123,32,.10)}
.pspe-note,.pspe-disclaimer{margin-top:20px;padding:14px 16px;background:#f7f8fa;border-left:3px solid #EC6921;border-radius:6px;color:#5b5b5b;font-size:13px;line-height:20px;font-weight:500}
.pspe-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;padding:13px 22px;border:1px solid #f47b20;border-radius:50px;background:#EC6921;color:#fff;font-family:"Plus Jakarta Sans",sans-serif;font-size:16px;line-height:24px;font-weight:600;cursor:pointer;transition:all .3s ease}
.pspe-primary:hover{background:#2D6093;border-color:#2D6093;transform:translateY(-2px)}
.pspe-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}
.pspe-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.pspe-result-head h3{font-size:26px;margin-bottom:0}
.pspe-reset,.pspe-back{border:0;background:none;color:#EC6921;font-family:"Plus Jakarta Sans",sans-serif;font-size:13px;font-weight:600;cursor:pointer}
.pspe-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}
.pspe-summary div{padding:14px;background:#f7f8fa;border-radius:8px}
.pspe-summary span{display:block;color:#8a9299;font-size:11px;line-height:18px;margin-bottom:4px}
.pspe-summary strong{display:block;color:#07111d;font-size:14px;line-height:21px;font-weight:600}
.pspe-table-wrap{overflow-x:auto}
.pspe-table{width:100%;border-collapse:collapse}
.pspe-table th,.pspe-table td{text-align:left;padding:14px;border-bottom:1px solid #e7eaf0;font-size:14px;line-height:21px}
.pspe-table th{background:#f7f8fa;color:#07111d;font-weight:600}
.pspe-table td{color:#5b5b5b;font-weight:500}
.pspe-table th:last-child,.pspe-table td:last-child{text-align:right}
.pspe-total{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding:20px;background:#07111d;border-radius:10px;color:#fff}
.pspe-total span{font-size:16px;line-height:24px;font-weight:500}
.pspe-total strong{font-size:24px;line-height:30px;font-weight:600;color:#EC6921}
.pspe-message{margin-top:16px;font-size:14px;line-height:21px;font-weight:500}
.pspe-message.is-success{color:#26734d}
.pspe-message.is-error{color:#b42318}

@media (max-width:1024px){
.pspe-estimator{padding:30px}
.pspe-header h2{font-size:26px}
.pspe-summary{grid-template-columns:repeat(2,1fr)}
.pspe-line{width:45px;margin:0 8px}
}

@media (max-width:767px){
.pspe-estimator{padding:22px 18px;border-radius:12px}
.pspe-header h2{font-size:23px;line-height:30px}
.pspe-header p{font-size:14px;line-height:21px}
.pspe-progress{justify-content:flex-start;overflow:auto;padding-bottom:4px}
.pspe-step{font-size:11px}
.pspe-step b{display:none}
.pspe-line{width:30px;min-width:30px;margin:0 6px}
.pspe-fields{grid-template-columns:1fr;gap:16px}
.pspe-field-full{grid-column:auto}
.pspe-summary{grid-template-columns:1fr 1fr;gap:8px}
.pspe-summary div{padding:11px}
.pspe-table th,.pspe-table td{padding:11px;font-size:12px;line-height:18px}
.pspe-total{padding:16px}
.pspe-total span{font-size:13px;line-height:20px}
.pspe-total strong{font-size:19px;line-height:25px}
.pspe-result-head{align-items:flex-start}
.pspe-result-head h3{font-size:21px;line-height:27px}
.pspe-primary{width:100%;font-size:14px}
}

/* =========================================================
   INTERNATIONAL PHONE FIELD
   Reuses the same CF7 international-phone plugin/library.
========================================================= */

.pspe-estimator .intl-tel-input{width:100%;display:block;position:relative}
.pspe-estimator .intl-tel-input input[type="tel"]{padding-left:95px}
.pspe-estimator .intl-tel-input .selected-flag{height:50px;border-radius:10px 0 0 10px}
.pspe-estimator .intl-tel-input .flag-container{border-radius:10px 0 0 10px}
.pspe-estimator .intl-tel-input .country-list{z-index:1000;font-family:"Plus Jakarta Sans",sans-serif;font-size:13px}
.pspe-estimator .intl-tel-input .country-list .country{padding:8px 10px}
.pspe-estimator .intl-tel-input .country-list .country:hover,
.pspe-estimator .intl-tel-input .country-list .country.highlight{background:#f7f8fa}
.pspe-estimator .intl-tel-input .selected-flag:focus{outline:none}
.pspe-estimator .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag{background:transparent}

/* Modern API fallback, only used if the existing library exposes it. */
.pspe-estimator .iti{width:100%;display:block}
.pspe-estimator .iti input{padding-left:95px}
.pspe-estimator .iti__country-list{z-index:1000}
.pspe-estimator .iti__selected-country{border-radius:10px 0 0 10px}
.pspe-estimator .iti__country{font-family:"Plus Jakarta Sans",sans-serif;font-size:13px}
