/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Nov 08 2026 | 21:23:30 */
/* =====================================================
   1. MENU POSTĘPU
===================================================== */

#up_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

#up_menu .menu-t,
#setup .menu-t,
#end_sim .menu-t {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    color: #9ca3af;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease;
}

/* Kółka etapów 1–4 */

#setup .menu-t > div,
#end_sim .menu-t > div,
#end_sim .menu-t > .menu-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #f3f4f6;

    color: #6b7280;
    font-size: 14px;
    font-weight: 700;

    box-sizing: border-box;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

/* Stany menu */

.menu-t[data-state="active"] {
    color: #4f46e5 !important;
    font-weight: 700;
}

.menu-t[data-state="active"] > div,
.menu-t[data-state="active"] > .menu-circle {
    background: #6366f1 !important;
    border-color: #6366f1 !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

.menu-t[data-state="completed"] {
    color: #9ca3af !important;
}

.menu-t[data-state="completed"] > div,
.menu-t[data-state="completed"] > .menu-circle {
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
}

.menu-t[data-state="upcoming"] {
    color: #c4c8d0 !important;
}

.menu-t[data-state="upcoming"] > div,
.menu-t[data-state="upcoming"] > .menu-circle {
    background: #f9fafb !important;
    border-color: #e5e7eb !important;
    color: #c4c8d0 !important;
}

/* Kółko podsumowania */

#end_sim .menu-t[data-state="active"] > div,
#end_sim .menu-t[data-state="active"] > .menu-circle {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
}

/* =====================================================
   2. ETAPY — NAKŁADANIE I ANIMACJA
===================================================== */

.etaps {
    display: grid !important;
    grid-template-columns: 100% !important;
    align-items: start;
    justify-items: stretch;
    column-gap: 0;
    row-gap: 0;

    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.etaps > .etap {
    grid-column: 1;
    grid-row: 1;

    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;

    justify-self: stretch;
    align-self: start;
}

/* NodeLogic nadal zarządza .hide */

.etaps > .etap.hide {
    display: none !important;
}

/* =====================================================
   3. BLOKADA NEXT
===================================================== */

.next[aria-disabled="true"] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    filter: grayscale(1);
    box-shadow: none !important;
    transform: none !important;
}

/* =====================================================
   4. NOWE PODSUMOWANIE
===================================================== */


/* =====================================================
   PEŁNE PODSUMOWANIE WYCENY
===================================================== */


/* =====================================================
   FINAL SUMMARY
===================================================== */

#final_summary {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    color: #1f2937;
}

#final_summary.is-visible {
    display: block;
    animation: finalSummaryEnter 0.45s ease both;
}

#final_summary .summary-heading {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #111827;
}

#final_summary .summary-description {
    margin: 0 0 28px;
    color: #6b7280;
    line-height: 1.6;
}

#final_summary .summary-section {
    margin-bottom: 22px;
}

#final_summary .summary-section-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
}

#final_summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

#final_summary .summary-row:nth-child(even) {
    background: #f9fafb;
}

#final_summary .summary-choice {
    color: #4b5563;
    line-height: 1.5;
}

#final_summary .summary-price {
    flex-shrink: 0;
    color: #374151;
    font-weight: 700;
    text-align: right;
}

#final_summary .summary-total {
    margin-top: 28px;
    padding: 22px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
}

#final_summary .summary-total-label {
    display: block;
    margin-bottom: 8px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#final_summary .summary-total-price {
    display: block;
    color: #4338ca;
    font-size: 30px;
    font-weight: 800;
    text-align: right;
}

/* Ukrywanie etapów i starego podsumowania */

.etaps.is-finished,
#summary_box.is-finished {
    display: none !important;
}

/* =====================================================
   SUMMARY MENU ITEM
===================================================== */

#sum_end {
    display: flex;
    align-items: center;
    gap: 10px;
}

#sum_end > .menu-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid #059669;
    background: #059669;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

#sum_end[data-state="active"] {
    color: #059669 !important;
    font-weight: 700;
}

#sum_end[data-state="active"] > .menu-circle {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

@keyframes finalSummaryEnter {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    #final_summary {
        padding: 16px;
    }

    #final_summary .summary-heading {
        font-size: 23px;
    }

    #final_summary .summary-row {
        gap: 8px;
        padding: 10px 6px;
        font-size: 13px;
    }

    #final_summary .summary-total-price {
        font-size: 25px;
    }

    #sum_end > .menu-circle {
        width: 30px;
        height: 30px;
        min-width: 30px;
        flex-basis: 30px;
        font-size: 12px;
    }
}

/* =====================================================
   6. OGRANICZENIE RUCHU
===================================================== */

@media (prefers-reduced-motion: reduce) {

    #up_menu *,
    #setup *,
    #end_sim *,
    #final_summary * {
        transition: none !important;
        animation: none !important;
    }
}

/* Kółko przy podsumowaniu — widoczne od początku */
#sum_end > div {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e5e5 !important;
  color: #777 !important;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Aktywne kółko po przejściu do podsumowania */
#sum_end[data-state="active"] > div {
  background: #6c5ce7 !important;
  color: #fff !important;
}