/* ── Wrapper ─────────────────────────────────────────────────────────────── */
#msc2-wrap {
    font-family: inherit;
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* ── Step indicators ─────────────────────────────────────────────────────── */
.msc2-steps {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.msc2-step-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.95em;
    color: #666;
    cursor: default;
}

/* Teardrop / leaf icon */
.msc2-step-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin-bottom: 6px;
    background: transparent;
    border: 2px solid #6aad2e;
    box-sizing: border-box;
}

.msc2-step-label.active {
    color: #333;
    font-weight: 600;
}

.msc2-step-label.active::before {
    background: #6aad2e;
    border-color: #6aad2e;
}

/* Divider below steps */
.msc2-steps-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 18px 0 30px;
}

/* ── Two-column row layout ────────────────────────────────────────────────── */
.msc2-row {
    display: flex;
    gap: 40px;
    margin-bottom: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.msc2-col {
    flex: 1 1 0;
    min-width: 200px;
    position: relative;
}

.msc2-col.msc2-full {
    flex: 0 0 100%;
    width: 100%;
}

.msc2-col.msc2-col-sm {
    flex: 0 0 140px;
    min-width: 100px;
}

/* ── Labels ──────────────────────────────────────────────────────────────── */
.msc2-step label,
.msc2-step .msc2-label {
    display: block;
    font-weight: 700;
    font-size: 0.95em;
    margin-bottom: 8px;
    color: #222;
}

/* ── Field + info-button wrapper ─────────────────────────────────────────── */
.msc2-field-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msc2-field-wrap input,
.msc2-field-wrap select {
    flex: 1;
}

/* ── Inputs & selects ────────────────────────────────────────────────────── */
#msc2-wrap input[type="text"],
#msc2-wrap input[type="email"],
#msc2-wrap input[type="number"],
#msc2-wrap select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #4a90d9;
    border-radius: 6px;
    font-size: 1em;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color 0.2s;
}

#msc2-wrap input[type="text"]:focus,
#msc2-wrap input[type="email"]:focus,
#msc2-wrap input[type="number"]:focus,
#msc2-wrap select:focus {
    border-color: #2266bb;
}

/* Custom dropdown arrow */
#msc2-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ── Info (i) buttons ────────────────────────────────────────────────────── */
.msc2-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #6aad2e;
    color: #fff;
    font-weight: 700;
    font-size: 0.85em;
    font-style: italic;
    cursor: pointer;
    position: relative;
    border: none;
    flex-shrink: 0;
    line-height: 1;
}

.msc2-info-btn:hover .msc2-tooltip,
.msc2-info-btn:focus .msc2-tooltip {
    display: block;
}

.msc2-tooltip {
    display: none;
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.82em;
    font-style: normal;
    font-weight: 400;
    width: 260px;
    z-index: 100;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.msc2-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

/* ── Section label (Contact Info / Please enter your address) ────────────── */
.msc2-section-label {
    font-weight: 700;
    font-size: 1em;
    margin: 0 0 18px;
    color: #222;
}

/* Placeholder-style contact fields (no label, just placeholder) */
#msc2-wrap input.msc2-placeholder-only::placeholder {
    color: #999;
    font-weight: 400;
}

/* ── Tilt row ─────────────────────────────────────────────────────────────── */
#msc2-tilt-row {
    margin-top: -10px;
}

/* ── Nav buttons ─────────────────────────────────────────────────────────── */
#msc2-nav {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

#msc2-nav button {
    padding: 13px 32px;
    background: #6aad2e;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.88em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

#msc2-nav button:hover {
    background: #559020;
}

/* ── Loading ──────────────────────────────────────────────────────────────── */
#msc2-loading {
    text-align: center;
    padding: 40px 0;
    font-size: 1.1em;
    color: #555;
}

/* ── Results ──────────────────────────────────────────────────────────────── */
.msc2-results-summary {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.msc2-result-card {
    flex: 1 1 180px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 20px 22px;
    text-align: center;
    background: #f9f9f9;
}

.msc2-result-label {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.msc2-result-value {
    display: block;
    font-size: 1.6em;
    font-weight: 700;
    color: #6aad2e;
}

.msc2-monthly-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95em;
}

.msc2-monthly-table th,
.msc2-monthly-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.msc2-monthly-table thead tr {
    background: #f2f2f2;
    font-weight: 700;
}

/* ── Error ────────────────────────────────────────────────────────────────── */
#msc2-error {
    color: #c00;
    padding: 12px 16px;
    background: #fff0f0;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    margin-top: 10px;
}

/* ── Validation error highlight ──────────────────────────────────────────── */
#msc2-wrap input.msc2-invalid,
#msc2-wrap select.msc2-invalid {
    border-color: #c00;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .msc2-row {
        flex-direction: column;
        gap: 16px;
    }
    .msc2-col.msc2-col-sm {
        flex: 1 1 auto;
    }
    .msc2-results-summary {
        flex-direction: column;
    }
}
