/* ============================================================
   WP Price Calculator LITE – Styl główny
   Wersja ciemna, kontrastowa, nowoczesna
   ============================================================ */

:root {
    --wpc-bg: #020617;
    --wpc-bg-box: #0f172a;
    --wpc-bg-light: #1e293b;

    --wpc-text: #ffffff;
    --wpc-text-soft: #cbd5e1;
    --wpc-text-muted: #94a3b8;

    --wpc-accent: #10b981;
    --wpc-accent-light: #34d399;
    --wpc-border: #1e293b;

    --wpc-radius: 14px;
}

/* Layout jasny – nadpisanie zmiennych dla kontenera z klasą .wpcalc-lite-layout-light */
.wpcalc-lite-layout-light {
    --wpc-bg: #f8fafc;
    --wpc-bg-box: #ffffff;
    --wpc-bg-light: #e5e7eb;

    --wpc-text: #020617;
    --wpc-text-soft: #1f2933;
    --wpc-text-muted: #64748b;

    --wpc-border: #cbd5e1;
}


/* ============ KONTEJNER GŁÓWNY =========================== */
.wpcalc-lite-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 24px;
    background: var(--wpc-bg);
    border-radius: var(--wpc-radius);
    border: 1px solid var(--wpc-border);
    color: var(--wpc-text);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============ NAGŁÓWEK =================================== */
.wpcalc-lite-header {
    text-align: center;
    margin-bottom: 24px;
}

.wpcalc-lite-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.wpcalc-lite-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--wpc-text);
}

.wpcalc-lite-subtitle {
    font-size: 17px;
    color: var(--wpc-text-soft);
    margin: 6px 0;
}

.wpcalc-lite-desc {
    font-size: 13px;
    color: var(--wpc-text-muted);
}

/* ============ UKŁAD GŁÓWNY =============================== */
.wpcalc-lite-main {
    margin-top: 20px;
}

.wpcalc-lite-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 900px) {
    .wpcalc-lite-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.wpcalc-lite-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============ SEKCJE ===================================== */
.wpcalc-lite-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--wpc-text);
}

.wpcalc-lite-section-desc {
    font-size: 13px;
    color: var(--wpc-text-muted);
    margin-top: -4px;
}

/* ============ LISTA ELEMENTÓW ============================ */
.wpcalc-lite-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpcalc-lite-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--wpc-bg-light);
    padding: 10px 12px;
    border-radius: var(--wpc-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.wpcalc-lite-row:hover {
    border-color: var(--wpc-accent);
}

.wpcalc-lite-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpcalc-lite-input {
    transform: scale(1.2);
    cursor: pointer;
}

.wpcalc-lite-row-label {
    font-size: 14px;
    font-weight: 500;
}

.wpcalc-lite-row-right {
    min-width: 90px;
    text-align: right;
}

.wpcalc-lite-price {
    font-weight: 600;
    color: var(--wpc-accent-light);
}

/* Badges */
.wpcalc-lite-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
}

.wpcalc-lite-badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

/* ============ BOXY ======================================= */
.wpcalc-lite-box {
    background: var(--wpc-bg-box);
    border: 1px solid var(--wpc-border);
    border-radius: var(--wpc-radius);
    padding: 14px;
}

.wpcalc-lite-box-title {
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--wpc-text);
}

/* ============ INLINE ELEMENTS ============================ */
.wpcalc-lite-inline {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.wpcalc-lite-input-number {
    width: 70px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--wpc-border);
    background: var(--wpc-bg);
    color: var(--wpc-text);
}

.wpcalc-lite-input-number:focus {
    outline: none;
    border-color: var(--wpc-accent);
}

.wpcalc-lite-highlight {
    font-weight: 600;
    color: var(--wpc-accent-light);
}

/* ============ PODSUMOWANIE =============================== */
.wpcalc-lite-summary {
    background: linear-gradient(135deg, var(--wpc-accent), var(--wpc-accent-light));
    padding: 20px;
    border-radius: var(--wpc-radius);
    text-align: center;
    color: #ecfdf5;
    margin-top: 20px;
}

.wpcalc-lite-summary-label {
    font-size: 14px;
    margin: 0;
}

.wpcalc-lite-summary-main {
    font-size: 34px;
    font-weight: 700;
    margin: 6px 0;
}

.wpcalc-lite-summary-note {
    font-size: 12px;
    color: #d1fae5;
}

/* ============ DÓŁ – PRO BOX ============================== */
.wpcalc-lite-box-pro {
    opacity: 0.58;
    border-style: dashed;
}

.wpcalc-lite-pro-list {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 13px;
    color: var(--wpc-text-muted);
}

.wpcalc-lite-pro-link {
    display: inline-block;
    background: var(--wpc-accent);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.wpcalc-lite-pro-link:hover {
    opacity: 0.85;
}

/* ============ MOBILE FIXES =============================== */
@media (max-width: 480px) {
    .wpcalc-lite-title {
        font-size: 22px;
    }

    .wpcalc-lite-summary-main {
        font-size: 28px;
    }
}

/* ============ STOPKA / PODPIS ============================= */
.wpcalc-lite-footer {
    margin-top: 18px;
    font-size: 11px;
    text-align: center;
    color: var(--wpc-text-muted);
    opacity: 0.8;
}

/* Jaśniejszy tekst w ciemnych boksach */
.wpcalc-lite-box .wpcalc-lite-section-desc {
    color: var(--wpc-text-soft);
}
