.pf-wrapper {
    font-family: 'Arial Black', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    padding-top: 20px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* STEP SYSTEM */
.pf-steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}


.pf-step-label {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #000;
    color: #fff;
    padding: 2px 15px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.pf-step-title {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.pf-input-main {
    width: 100%;
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    border: none;
    outline: none;
    background: transparent;
    color: #000;
    padding: 0;
    border-bottom: 3px solid #eee;
}

.pf-input-main:focus {
    border-bottom-color: #000;
}

/* DROPDOWN */
.pf-custom-select {
    position: relative;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    width: 100%;
    border: 5px solid #000;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    color: #000 !important;
}

.pf-select-selected {
    padding: 15px 25px;
    color: #000 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.pf-select-selected:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #000;
    transition: transform 0.3s;
}

.pf-custom-select.active .pf-select-selected:after {
    transform: rotate(180deg);
}

.pf-select-items {
    position: absolute;
    background-color: #fff;
    top: calc(100% + 5px);
    left: -5px;
    right: -5px;
    z-index: 1000;
    border: 5px solid #000;
    display: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: calc(100% + 10px);
}

.pf-select-items.pf-select-show {
    display: block;
}

.pf-select-items.grid.pf-select-show {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.pf-select-items div {
    color: #000 !important;
    padding: 15px 25px;
    cursor: pointer;
    border-bottom: 5px solid #000;
    border-right: 5px solid #000;
    font-size: 1.1rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.pf-select-items.grid div:nth-child(even) {
    border-right: none;
}

.pf-select-items div:last-child {
    border-bottom: none;
}

.pf-select-items.grid div:nth-last-child(-n+2) {
    border-bottom: none;
}

.pf-select-items div:last-child {
    border-bottom: none;
}

.pf-select-items div:hover {
    background-color: #000000;
    color: #ffffff !important;
}



.pf-search-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pf-pill-btn {
    background: #ffffff;
    color: #000000 !important;
    border: 5px solid #000;
    padding: 15px 50px;
    font-size: 1.5rem;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.pf-pill-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.pf-pill-btn.inverted {
    background: #fff;
    color: #000 !important;
}

.pf-pill-btn.inverted:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

/* PROTOCOL SECTION */
.pf-protocol-container {
    filter: invert(1);
    border: 5px solid #fff;
    background: #000;
    color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    display: none;
}

.pf-protocol-title {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 5px solid #fff;
    padding-bottom: 10px;
    color: #fff !important;
}

.pf-protocol-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.pf-protocol-num {
    background: #fff;
    color: #000 !important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 1.2rem;
    border-radius: 50%;
}

.pf-protocol-text {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    min-width: 0;
}

.pf-protocol-link {
    color: #fff !important;
    text-decoration: underline;
    cursor: pointer;
}

/* RESOURCES */
.pf-vult-list-title {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
}

.pf-resource-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf-resource-item {
    border: 5px solid #000;
    padding: 20px;
    background: #fff;
}

.pf-resource-cat {
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 5px;
}

.pf-resource-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-family: 'Arial Black', Impact, sans-serif;
    letter-spacing: -1px;
}

.pf-resource-desc {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.pf-resource-link {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
    border: 5px solid #000;
    font-size: 0.9rem;
}

.pf-resource-link:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* MAP SECTION */
.pf-map-section {
    margin-top: 60px;
    display: block;
}

.pf-map-header {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pf-map-input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-family: 'Arial Black', sans-serif;
    font-weight: bold;
    border: 5px solid #000;
    box-sizing: border-box;
    margin-bottom: 20px;
    outline: none;
}

.pf-map-container {
    width: 100%;
    height: 0;
    background: #f0f0f0;
    border: 5px solid #000;
    overflow: hidden;
    opacity: 0;
}

.pf-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(120%);
}

/* HELP SECTION */
.pf-help-section {
    margin-top: 60px;
    text-align: center;
    border-top: 5px solid #000;
    padding-top: 40px;
}

.pf-help-btn {
    background: #fff;
    color: #000;
    border: 5px solid #000;
    font-family: 'Arial Black', Impact, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    padding: 20px 50px;
    font-size: 1.8rem;
    border-radius: 100px;
    margin-top: 20px;
}

.pf-help-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .pf-wrapper {
        padding: 50px 10px;
        overflow-x: hidden;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pf-steps-container {
        width: 100% !important;
        gap: 20px;
    }

    .pf-select-items.grid.pf-select-show {
        grid-template-columns: 1fr;
        /* Stack on mobile for better readability */
    }

    .pf-select-items div {
        border-right: none !important;
    }

    .pf-select-items.grid.pf-select-show div:nth-last-child(-n+2) {
        border-bottom: 5px solid #000;
    }

    .pf-select-items div:last-child {
        border-bottom: none;
    }

    .pf-input-main {
        font-size: 1.4rem;
        width: 100%;
    }

    .pf-protocol-title {
        font-size: 1.3rem;
    }

    .pf-select-selected {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .pf-pill-btn {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .pf-protocol-container {
        padding: 15px;
    }

    .pf-resource-title {
        font-size: 1.2rem;
    }
}