:root {
    --accent: #c60010;

    --hs-primary: var(--accent);
    --hs-primary-hover: #090909;
    --hs-bg-card: #f3f3f3;

    --primary-color: var(--accent);
    --border-radius: 8px;
}

body {
    background-color: #f5f5f5;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* NAVBAR / STEPS */

.navbar-brand img {
    height: 36px;
}

.step-indicator {
    font-size: 0.85rem;
}

.step-indicator .badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.35rem;
}

.step-indicator .step-label {
    font-weight: 500;
}

/* KARTY / SEKCJE */

.card-soft {
    background-color: var(--hs-bg-card);
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hs-primary);
}

.activity-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background-color: #fee2e2;
    color: #b91c1c;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

/* PRZYCISKI – GLOBALNE */

.btn {
    background-color: var(--primary-color);
    border: 2px var(--primary-color) solid;
    color: #fff;
    padding: 0.75em 1.5em;
    border-radius: var(--border-radius);
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.15s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* warianty */

.btn-outline-secondary {
    background-color: transparent;
    color: #374151;
    border-color: #d1d5db;
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.btn-link {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    color: #6b7280;
    text-transform: none;
    font-weight: 400;
}

.btn-link:hover {
    background: transparent;
    color: #111827;
    transform: none;
    box-shadow: none;
}

/* DROBNE ELEMENTY */

.badge-info-soft {
    background-color: #fee2e2;
    color: #1f2933;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background-color: #fef2f2;
    color: #b91c1c;
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.timeline-step {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.option-item {
    border-radius: 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background-color: #ffffff;
    margin-bottom: 0.5rem;
}

.option-price {
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background-color: #fee2e2;
    color: #b91c1c;
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.pill-soft {
    background-color: #e5e7eb;
    color: #4b5563;
}

.qty-input {
    width: 64px;
}

.side-card-sticky {
    position: sticky;
    top: 88px;
}

.installment-choice {
    min-width: 72px;
}

.installment-choice.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.child-block {
    background-color: #ffffff;
}

/* overlay ładowania między krokami */

.loading-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.28);
    z-index: 2000;
    backdrop-filter: blur(2px);
}

.loading-box {
    background: #ffffff;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.35);
}

.spinner-border-accent {
    color: var(--primary-color);
    width: 1.4rem;
    height: 1.4rem;
}

/* CHECKBOX wymagany – czerwony przy błędzie */

.form-check-input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 0.15rem rgba(220, 38, 38, 0.35);
}

.form-check-input.is-invalid + .form-check-label {
    color: #dc2626;
    font-weight: 500;
}

/* MODALE – ikony success/warning */

.modal-icon-wrapper {
    text-align: center;
    margin-bottom: 0.75rem;
}

.modal-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 0, 16, 0.08);
    color: #c60010;
    border: 2px solid #c60010;
}

.modal-icon-circle i {
    font-size: 1.6rem;
}

/* Logo w modalach */

.modal-logo-img {
    height: 32px;
}

/* RWD */

@media (max-width: 991.98px) {
    .side-card-sticky {
        position: static;
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    main.container-xxl {
        padding-inline: 1rem;
    }

    .card-soft {
        padding: 1.25rem !important;
    }

    .step-indicator {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
        margin-top: 0.25rem;
    }

    .step-indicator .step-label {
        font-size: 0.8rem;
    }

    .activity-chip {
        margin-top: 0.6rem;
    }
}
