/* =========================================================================
   Parcheggio Ceretta v2 — iframe.css
   Replicates the v1 visual style exactly (Bootstrap 4 utility classes + custom overrides)
   ========================================================================= */

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    color: #3f4b5b;
}

/* ---------- Bootstrap 4 minimal grid + utilities ---------- */
.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row.no-gutters { margin-right: 0; margin-left: 0; }
.row.no-gutters > [class*="col-"] { padding-right: 0; padding-left: 0; }

[class*="col-"] { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
@media (max-width: 767px) {
    .col-md-4, .col-md-8, .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

.d-flex { display: flex !important; }
.align-items-center  { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-stretch  { align-self: stretch !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }
.mr-2 { margin-right: .5rem !important; }
.ml-2 { margin-left: .5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.py-3 { padding-top: .75rem !important; padding-bottom: .75rem !important; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.rounded-right { border-radius: 0 .25rem .25rem 0 !important; }

/* ---------- section / background overrides (matches v1) ---------- */
.ftco-section { padding: 0; position: relative; }
.ftco-no-pt { padding-top: 0 !important; }
.bg-light { background: #3f4b5b !important; }
.bg-primary { background: #292e34 !important; }

/* ---------- request-form (left dark panel) ---------- */
.request-form {
    padding: 30px;
    z-index: 1;
    border-radius: 4px 0 0 4px;
    box-shadow: 0px 5px 12px -1px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.request-form h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
}
.request-form p { color: rgba(255,255,255,0.8); }

.request-form label.label {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.form-group {
    position: relative;
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    flex: 1;
}

.form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: .375rem .75rem;
    font-size: 14px;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(255,255,255,0.08);
    background-clip: padding-box;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 0;
    box-shadow: none !important;
    transition: border-color .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-control::placeholder         { color: rgba(255,255,255,0.7); }
.form-control::-webkit-input-placeholder { color: rgba(255,255,255,0.7); }
.form-control:-ms-input-placeholder { color: rgba(255,255,255,0.7); }
.form-control:focus, .form-control:active {
    outline: none;
    border-color: #fff !important;
    background-color: rgba(255,255,255,0.12);
    color: #fff;
    box-shadow: none !important;
}
.form-control:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.form-control option { color: #222; background: #fff; }

select.form-control { cursor: pointer; }

/* ---------- button ---------- */
.btn {
    display: inline-block;
    font-family: inherit;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-decoration: none;
}
.btn-secondary {
    color: #fff;
    background-color: #f15a23;
    border-color: #f15a23;
    width: 100%;
    display: block !important;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #d94e1a;
    border-color: #d94e1a;
}
.btn-secondary:disabled, .btn-secondary[disabled] {
    opacity: .65;
    cursor: not-allowed;
}

/* ---------- services-wrap (right white panel) ---------- */
.services-wrap {
    padding: 4em 3em;
    background: #fff;
    box-shadow: 0px 5px 12px -1px rgba(0,0,0,0.03);
}
.services-wrap .heading-section {
    font-size: 24px;
    font-weight: 600;
    color: #2b3643;
    margin-top: 0;
}

/* services icon cards */
.services .icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f15a23;
    border: none;
    margin: 0 auto;
    margin-bottom: 20px;
}
.services .icon span {
    font-size: 40px;
    color: #fff;
}
.services h3.heading {
    font-size: 17px;
    font-weight: 500;
    color: #2b3643;
}

/* ---------- results panel: tabella prezzi (stile v1 identico) ---------- */
#results-panel h3.heading-section {
    font-size: 24px;
    font-weight: 600;
    color: #2b3643;
    margin-top: 0;
}

.datescelte {
    font-weight: 600;
    color: #000;
    margin-bottom: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
.table th { font-weight: 500; }

.table .thead-primary { background: transparent; }
.table .thead-primary tr th {
    padding: 30px 10px;
    color: #fff !important;
    border: 1px solid transparent !important;
}
.table .thead-primary tr th.heading {
    border-right: 1px solid #fff !important;
    position: relative;
}
.table .thead-primary tr th.heading:last-child {
    border-right: none !important;
}
.table .thead-primary tr th.heading:after {
    content: none;
}
.table .thead-primary tr th.bg-dark { background: #292e34 !important; }

.table tbody tr td {
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}
.table tbody tr td.price {
    text-align: center !important;
    background: rgba(0,0,0,0.05);
    border-right: 1px solid #fff;
    padding: 20px 15px;
}
.table tbody tr td.price:last-child { border-right: none; }
.table tbody tr td.price h2 {
    position: relative;
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 500;
    color: #2b3643;
    line-height: 1.1;
}
.table tbody tr td.price h2 span.num {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    position: relative;
}
.table tbody tr td.price h2 small.currency {
    position: relative;
    font-size: 18px;
    top: -6px;
    margin-right: 2px;
    color: #6c757d;
    font-weight: 400;
}

.discount-message-box {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    max-width: 500px;
    margin: 20px auto;
}
.discount-message {
    margin: 0;
    font-weight: bold;
}

/* ---------- summary / alerts ---------- */
.summary {
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #eef6ff;
    border-left: 4px solid #1089ff;
    border-radius: 3px;
    font-size: 14px;
    color: #2b3643;
}
.discount-msg {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
}
.discount-msg.green { color: #1b7e3a; }
.discount-msg.red   { color: #b12a2a; }

.alert {
    padding: 14px 16px;
    border-radius: 4px;
    margin: 8px 0;
    font-size: 14px;
}
.alert-error { background: #fdecea; color: #b12a2a; border-left: 4px solid #b12a2a; }
.alert-info  { background: #e8f4fd; color: #0a4f8f; border-left: 4px solid #0a4f8f; }
.alert h3 { margin-top: 0; font-size: 18px; }

/* ---------- loading spinner ---------- */
.loader {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- honeypot ---------- */
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
