/* Help Modal Styling */
#helpModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

#helpModal.modal-open {
    display: flex;
}

#helpModal .modal-content {
    background-color: #A0826D;
    border: 2px solid black;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}


#helpModal .blk-title-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #fbfbfa;
    border: 2px solid black;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

#helpModal .blk-title-bar > div {
    flex: 1;
}

#helpModal .blk-title-bar h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
}

#helpModal #helpCloseBtn {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

#helpModal #helpCloseBtn:hover {
    color: #000;
}

#helpModal .modal-form-container {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #f3ede1;
    border: 2px solid black;
    flex: 1;
    overflow-y: auto;
}

#helpModal .help-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#helpModal .help-section {
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#helpModal .help-section p {
    margin: 0;
    padding: 0;
    color: #1a1a1a;
}

#helpModal .help-section h3 {
    margin: 0;
    padding: 0;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
}

#helpModal .contribution-guide {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#helpModal .contribution-guide ul,
#helpModal .contribution-guide ol {
    margin: 0;
    padding-left: 20px;
    color: #1a1a1a;
}

#helpModal .contribution-guide li {
    margin-bottom: 12px;
}
