/* --- BAZA --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: #060510; color: #fff; padding-bottom: 50px; overflow-x: hidden; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(150deg, rgba(20, 215, 255, 0.06), transparent 30%, rgba(255, 87, 209, 0.06));
    z-index: 0;
}

.taskbar {
    width: 100%;
    padding: 14px 18px;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    background: linear-gradient(90deg, rgba(6, 5, 16, 0.86), rgba(18, 13, 28, 0.82), rgba(6, 5, 16, 0.86));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.menu-item {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    transition: all .18s ease;
}
.menu-item:hover {
    border-color: rgba(255, 87, 209, 0.45);
    background: rgba(255, 87, 209, 0.1);
    color: #fff;
}
.menu-item.active {
    border-color: rgba(255, 87, 209, 0.65);
    background: linear-gradient(90deg, rgba(255, 87, 209, 0.2), rgba(199, 100, 255, 0.22));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 87, 209, 0.24);
}

.panel-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 13px 7px 10px;
    border: 1px solid rgba(110, 231, 255, 0.55);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #14d7ff 0%, #8b5cf6 52%, #ff57d1 100%);
    box-shadow: 0 12px 30px rgba(20, 215, 255, 0.18), 0 0 24px rgba(255, 87, 209, 0.12);
    font: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}

.panel-btn::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 46%, rgba(255, 255, 255, 0.13));
    pointer-events: none;
}

.panel-btn > span {
    position: relative;
    z-index: 1;
}

.panel-btn:hover {
    transform: translateY(-50%) scale(1.04);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 14px 34px rgba(20, 215, 255, 0.26), 0 0 30px rgba(255, 87, 209, 0.2);
    filter: saturate(1.16) brightness(1.08);
}

.panel-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.panel-btn:focus-visible {
    outline: 2px solid rgba(110, 231, 255, 0.8);
    outline-offset: 3px;
}

.panel-icon {
    width: 16px;
    height: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.panel-icon span {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

body.panel-modal-open {
    overflow: hidden;
}

.panel-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.panel-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    animation: panelModalFadeIn .24s ease both;
}

.panel-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 320px at 50% 15%, rgba(20, 215, 255, 0.13), transparent 62%),
        rgba(4, 3, 10, 0.78);
    backdrop-filter: blur(12px);
}

.panel-modal-card {
    position: relative;
    width: min(500px, 100%);
    overflow: hidden;
    border: 1px solid rgba(110, 231, 255, 0.18);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(22, 17, 34, 0.98), rgba(9, 8, 18, 0.98));
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.62),
        0 0 54px rgba(20, 215, 255, 0.08);
    padding: 26px;
    transform: translateY(18px) scale(0.94);
    transition: transform .34s cubic-bezier(0.16, 1, 0.3, 1), opacity .24s ease;
    opacity: 0;
}

.panel-modal.is-open .panel-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: panelModalCardIn .42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.panel-modal.is-open .panel-modal-backdrop {
    animation: panelModalBackdropIn .32s ease both;
}

.panel-modal.is-open .panel-option:not(.is-picked) {
    animation: panelOptionIn .42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.panel-modal.is-open .panel-option:not(.is-picked):nth-child(2) {
    animation-delay: .07s;
}

.panel-modal-glow {
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background: linear-gradient(110deg, rgba(20, 215, 255, 0.12), transparent 44%, rgba(255, 87, 209, 0.12));
    opacity: .75;
}

.panel-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.panel-modal-close span {
    position: absolute;
    left: 9px;
    right: 9px;
    top: 15px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.panel-modal-close span:first-child { transform: rotate(45deg); }
.panel-modal-close span:last-child { transform: rotate(-45deg); }

.panel-modal-close:hover {
    transform: rotate(8deg) scale(1.06);
    background: rgba(255, 87, 209, 0.2);
    border-color: rgba(255, 255, 255, 0.28);
}

.panel-modal-head,
.panel-modal-options {
    position: relative;
    z-index: 1;
}

.panel-modal-head {
    padding-right: 46px;
    margin-bottom: 20px;
}

.panel-modal-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(110, 231, 255, 0.9);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.panel-modal-head h2 {
    font-size: clamp(24px, 4vw, 31px);
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #b9efff 45%, #ff96e7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.panel-option {
    position: relative;
    min-height: 136px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.panel-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 215, 255, 0.14), transparent 48%, rgba(255, 87, 209, 0.12));
    opacity: 0;
    transition: opacity .2s ease;
}

.panel-option:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 255, 0.46);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 28px rgba(20, 215, 255, 0.09);
}

.panel-option:hover::before,
.panel-option.is-picked::before {
    opacity: 1;
}

.panel-option.is-picked {
    animation: panelPick .42s ease;
}

.panel-option-icon,
.panel-option-text {
    position: relative;
    z-index: 1;
}

.panel-option-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20, 215, 255, 0.18), rgba(255, 87, 209, 0.14));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.panel-option-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.panel-option-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: left;
}

.panel-option-text strong {
    font-size: 15px;
    line-height: 1.18;
    font-weight: 900;
}

.panel-option-text em {
    width: fit-content;
    border: 1px solid rgba(110, 231, 255, 0.26);
    border-radius: 999px;
    padding: 4px 8px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

@keyframes panelPick {
    0% { transform: scale(1); }
    42% { transform: scale(0.97); }
    100% { transform: scale(1); }
}

@keyframes panelModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes panelModalBackdropIn {
    from { opacity: 0; backdrop-filter: blur(0); }
    to { opacity: 1; backdrop-filter: blur(12px); }
}

@keyframes panelModalCardIn {
    0% { opacity: 0; transform: translateY(22px) scale(0.9); }
    62% { opacity: 1; transform: translateY(-3px) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes panelOptionIn {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.rekru-wrapper {
    position: relative;
    z-index: 1;
    display: flex; flex-direction: column; align-items: center; margin-top: 40px; padding: 0 15px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.modes-title { font-size: 32px; font-weight: 900; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }

/* --- FORMULARZ --- */
.rekru-form {
    background: linear-gradient(135deg, rgba(20, 215, 255, 0.04), transparent 34%), #16121f; border: 1px solid rgba(211, 107, 255, 0.24); border-radius: 20px;
    padding: 35px; width: 100%; max-width: 650px; box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.row-inputs { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }

.input-group { margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.input-group label { font-size: 14px; font-weight: 700; color: #d36bff; text-transform: uppercase; }

input[type="text"], input[type="number"], textarea {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 14px; color: #fff; font-size: 15px; outline: none; transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: #ff4fd1; background: rgba(211, 107, 255, 0.05);
    box-shadow: 0 0 15px rgba(211, 107, 255, 0.2);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 12px;
    padding-top: 4px;
    flex-wrap: wrap;
}
.radio-option {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 10px 16px;
    min-width: 74px;
    background: rgba(255, 255, 255, 0.04);
    transition: all .18s ease;
    user-select: none;
}
.radio-option:hover {
    border-color: rgba(255, 79, 209, 0.5);
    background: rgba(255, 79, 209, 0.12);
}
.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.radio-option:has(input[type="radio"]:checked) {
    border-color: rgba(255, 79, 209, 0.75);
    background: linear-gradient(90deg, rgba(255, 79, 209, 0.24), rgba(211, 107, 255, 0.24));
    box-shadow: inset 0 0 0 1px rgba(255, 79, 209, 0.3), 0 0 16px rgba(255, 79, 209, 0.22);
}
.radio-option:has(input[type="radio"]:focus-visible) {
    outline: 2px solid rgba(255, 79, 209, 0.65);
    outline-offset: 2px;
}

/* Suwak */
.slider { -webkit-appearance: none; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; }
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px; background: #ff4fd1; border-radius: 50%;
    cursor: pointer; box-shadow: 0 0 10px #ff4fd1;
}
.slider:focus { outline: none; box-shadow: none; }
.slider::-moz-range-thumb {
    width: 20px; height: 20px; background: #ff4fd1; border-radius: 50%;
    border: 0; cursor: pointer; box-shadow: 0 0 10px #ff4fd1;
}
.slider::-moz-range-track {
    height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; border: 0;
}

.submit-btn {
    width: 100%; padding: 18px; border: none; border-radius: 12px;
    background: linear-gradient(135deg, #d36bff 0%, #ff4fd1 100%);
    color: #fff; font-weight: 800; font-size: 16px; cursor: pointer;
    text-transform: uppercase; transition: 0.4s; margin-top: 10px;
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 79, 209, 0.4); }

@media (max-width: 600px) { .row-inputs { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
    .taskbar { gap: 10px; flex-wrap: wrap; }
    .menu-item { font-size: 13px; padding: 7px 11px; }
    .panel-btn {
        position: static;
        transform: none;
        min-height: 32px;
        padding: 7px 12px 7px 10px;
        font-size: 12px;
    }

    .panel-btn:hover,
    .panel-btn:active {
        transform: none;
    }
}
@media (max-width: 430px) {
    .panel-btn { width: auto; justify-content: center; }
}

@media (max-width: 640px) {
    .panel-modal {
        padding: 14px;
    }

    .panel-modal-card {
        width: min(390px, 100%);
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .panel-modal-head {
        margin-bottom: 16px;
    }

    .panel-modal-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .panel-option {
        min-height: 92px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        padding: 15px;
    }

    .panel-option-icon {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
    }

    .panel-option-icon svg {
        width: 24px;
        height: 24px;
    }

    .panel-option-text strong {
        font-size: 14px;
    }
}

@media (max-width: 720px) {
    .taskbar { padding: 10px; align-items: stretch; }
    .menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    .menu-item {
        min-height: 38px;
        display: grid;
        place-items: center;
        padding: 7px 6px;
        text-align: center;
        font-size: 11px;
    }
    .panel-btn { width: 100%; justify-content: center; min-height: 38px; }
    .rekru-wrapper { width: min(100% - 24px, 720px); margin-top: 24px; }
    .submit-btn { min-height: 48px; }
}
