@media (max-width: 768px) {

    .glass-radio-group {
        flex-direction: column;
    }
    #period-1:checked ~ .glass-glider {
        height: 0;
    }

    /* Gold */
    #period-3:checked ~ .glass-glider {
        height: 0;
    }

    /* Platinum */
    #period-6:checked ~ .glass-glider {
        height: 0;
    }

    /* Platinum */
    #period-12:checked ~ .glass-glider {
        height: 0;
    }

    .lok-box {
        flex-direction: column;
        padding: 1em;
        position: relative;
    }

    .lok-box label {
        flex-direction: column;
        gap: 0.5em;
        padding-left: 0;
        align-items: flex-start;
        min-width: 240px;
    }

    .lok-box input[type="checkbox"] {
        position: absolute;
        top: 0;
        left: 0;
        transform: scale(1.4);
    }

    .lok-img-wrap {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 8px;
        background-color: #f0f0f0;
    }

    .lok-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .lok-info {
        font-size: 0.95em;
    }

    .lok-info strong {
        font-size: 1.05em;
    }

    .lok-info small {
        font-size: 0.9em;
    }

    button {
        width: 100%;
    }
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff7f0;
    color: #333;
}

form {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 2em 3em;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h1 {
    color: #005f99;
    text-align: center;
    margin-bottom: 1em;
}

label {
    height: 100%;
    font-weight: bold;
    color: #444;
    letter-spacing: .5px;
}

input, textarea {
    padding: 0.6em;
    margin-top: 0.3em;
    border-radius: 6px;
    border: 1px solid black;
    font-size: 1em;
}

input:focus {
    outline: none !important;
    border: 1px solid #03848C;
}

input:hover {
    border: 1px solid #03848C;
}

.button {
    margin-top: 2em;
    background: #005f99;
    color: white;
    border: none;
    padding: 1em 2em;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button:hover {
    background: #003b99;
}

.hidden {
    display: none;
}

.note {
    margin-top: 1em;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

/* === LOKALIZACJE === */
#lokalizacje, #sieradz, #zdunskawola {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}
#sieradz, #zdunskawola {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}


.lok-box {
    cursor: pointer;
    max-width: 15rem;
    position: relative;
    background-color: #E8F5FD;
    border: 1px solid #cce4f6;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1em;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

.lok-box label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8em;
    cursor: pointer;
}

.lok-info {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    text-align: center; /* ← WYJUSTOWANIE TEKSTU */
    align-items: center;  /* ← WYŚRODKOWANIE CAŁEGO BLOKU */
}

.lok-info strong {
    font-size: 1em;
    color: #005f99;
}

.lok-info small {
    font-size: 0.9em;
    color: #666;
}

.opt-img-wrap {
    width: inherit;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.lok-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.lok-img-wrap>img {
    width: inherit;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.lok-box:hover {
    background-color: #CCE1EF;
    box-shadow: 0 4px 16px rgba(0, 95, 153, 0.2);
    transform: translateY(-2px);
    border: 1px solid #03848C;
}

.lok-box:has(input[type="checkbox"]:checked), .lok-box:has(input[type="radio"]:checked) {
    background-color: #9BC0DA;
    box-shadow: 0 4px 16px rgba(0, 95, 153, 0.2);
    transform: translateY(-2px);
    border: 1px solid #03848C;
}

.lok-box:has(input[type="checkbox"]:checked)::after, .lok-box:has(input[type="radio"]:checked)::after {
    content: "✔";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4caf50;
    color: white;
    font-size: 14px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-radio-group {
    margin: 1rem;
    --bg: rgba(255, 255, 255, 0.06);
    --text: #005f99;

    display: flex;
    position: relative;
    background: var(--bg);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    box-shadow:
            inset 1px 1px 4px rgba(255, 255, 255, 0.2),
            inset -1px -1px 6px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 100%;;
}

.glass-radio-group input {
    display: none;
}

.glass-radio-group label {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-size: 14px;
    padding: 0.8rem 1.6rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease-in-out;
    border-radius: 1em;
}

.glass-radio-group label:hover {
    transform: translateX(0%);
    background: linear-gradient(135deg, #d0e7ff55, #a0d8ff);
    box-shadow:
            0 0 18px rgba(160, 216, 255, 0.5),
            0 0 10px rgba(200, 240, 255, 0.4) inset;
}

.glass-radio-group input:checked + label {
    color: #005f99;
    background: linear-gradient(135deg, #03848C, #a0d8ff);
}

.glass-glider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(100% / 4);
    border-radius: 1rem;
    z-index: 1;
    transition:
            transform 0.5s cubic-bezier(0.37, 1.95, 0.66, 0.56),
            background 0.4s ease-in-out,
            box-shadow 0.4s ease-in-out;
}

/* Silver */
#period-1:checked ~ .glass-glider {
    transform: translateX(0%);
    background: linear-gradient(135deg, #03848C, #a0d8ff);
    box-shadow:
            0 0 18px rgba(160, 216, 255, 0.5),
            0 0 10px rgba(200, 240, 255, 0.4) inset;
}

/* Gold */
#period-3:checked ~ .glass-glider {
    transform: translateX(100%);
    background: linear-gradient(135deg, #03848C, #a0d8ff);
    box-shadow:
            0 0 18px rgba(160, 216, 255, 0.5),
            0 0 10px rgba(200, 240, 255, 0.4) inset;
}

/* Platinum */
#period-6:checked ~ .glass-glider {
    transform: translateX(200%);
    background: linear-gradient(135deg, #03848C, #a0d8ff);
    box-shadow:
            0 0 18px rgba(160, 216, 255, 0.5),
            0 0 10px rgba(200, 240, 255, 0.4) inset;
}

/* Platinum */
#period-12:checked ~ .glass-glider {
    transform: translateX(300%);
    background: linear-gradient(135deg, #03848C, #a0d8ff);
    box-shadow:
            0 0 18px rgba(160, 216, 255, 0.5),
            0 0 10px rgba(200, 240, 255, 0.4) inset;
}

.logo-wrap {
    text-align: center;
    margin-bottom: 1.5em;
}

.logo-wrap img {
    max-width: 180px;
    height: auto;
    display: inline-block;
}

.radio-inline {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 0.5em;
}

.radio-inline label {
    background-color: #eef7fc;
    padding: 0.8em 1.2em;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: bold;
    color: #005f99;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: all 0.3s ease;
}

.radio-inline label:hover {
    background-color: #e0f0ff;
    border-color: #03848C;
}

.radio-inline input[type="radio"] {
    transform: scale(1.2);
    accent-color: #03848C;
}

.radio-tile-group {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
    width: 100%;
}

.radio-tile {
    display: flex;
    justify-content: center;
    background-color: #eef7fc;
    padding: 1.2em 1.5em;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.radio-tile:hover {
    border-color: #03848C;
    background-color: #e0f0ff;
}

.radio-tile label {
    display: flex;
    align-items: center;
    gap: 1em;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.radio-tile input[type="radio"] {
    transform: scale(1.3);
    accent-color: #03848C;
    flex-shrink: 0;
}

.radio-tile span {
    display: block;
    font-weight: 600;
    font-size: 1em;
    color: #333;
    line-height: 1.4;
    text-align: left;
    word-break: break-word;
    width: 100%;
}

.hidden {
    display: none;
}

svg {
    width: 220px;
    height: 220px;
    transition: transform .4s ease;
    cursor: pointer;
}
.slice {
    transition: transform .3s ease, filter .3s ease;
    transform-origin: 50% 50%;
    cursor: pointer;
}
.slice.active {
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
}
.slice path {
    transition: stroke .3s ease, stroke-width .3s ease;
    stroke: none;
    stroke-width: 0;
}
.slice.active path {
    stroke: #03848C;
    stroke-width: 1;
}
.center-text {
    text-anchor: middle;
    dominant-baseline: middle;
    font-weight: 600;
    font-size: 20px;
    fill: #111;
    pointer-events: none;
}
.num {
    text-anchor: middle;
    dominant-baseline: middle;
    font-weight: 600;
    font-size: 11px;
    fill: #005f99;
    pointer-events: none;
}
.btn{padding:10px 16px;border:0;border-radius:10px;cursor:pointer}
.btn:hover{    border-color: #03848C;background-color: #e0f0ff;}
.btn-primary{background:#0d6efd;color:#fff}
.btn-soft{background:#eef4ff}
.btn-soft:hover{    border-color: #03848C;background-color: #e0f0ff;}
.hidden{display:none}

