/***********************************************/
/* HELP CENTER - LAYOUT */
/***********************************************/
.help-wrap {
    width: calc(100% - 60px);
    max-width: 1100px;
    margin: 20px 0 40px 45px;
    padding: 0 15px 36px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.help-title {
    margin: 0 0 18px;
    color: #0759a5;
    font-size: 32px;
    font-weight: 700;
    text-align: left;
}

/***********************************************/
/* TOOLBAR - BUTTONS AND SEARCH ON SAME ROW */
/***********************************************/
.help-toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 12px 0 20px;
}

.help-toolbar .help-search {
    display: block;
    flex: 0 1 215px;
    width: 215px;
    min-width: 130px;
    max-width: 315px;
    height: 44px;
    margin: 0 0 0 25px;
    padding: 8px 8px;
    background: #ffffff;
    border: 1px solid #818181;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
}

/***********************************************/
/* HELP TOPIC CARDS */
/***********************************************/
.help-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.help-topic {
    width: 415px;
    max-width: 100%;
    padding: 8px 8px;
    background: #f4faff;
    border: 1px solid #aed5fb;
    border-radius: 12px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}

.help-topic[hidden] {
    display: none !important;
}

.help-topic .category {
    margin-bottom: 2px;
    color: #567;
    font-size: 12px;
}

.help-topic h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
}

.help-topic h3 a {
    color: #0759a5;
    font-weight: 700;
    text-decoration: none;
}

.help-topic h3 a:hover {
    text-decoration: underline;
}

.help-topic .body {
    margin-top: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.help-topic:has(.body) {
    width: 850px;
}

/***********************************************/
/* HELP EDITOR FORM */
/***********************************************/
.help-form label {
    display: block;
    margin: 12px 0 5px;
    font-weight: bold;
}

.help-form input:not([type="checkbox"]),
.help-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #a8c9e9;
    border-radius: 7px;
    box-sizing: border-box;
}

.help-form textarea {
    min-height: 280px;
}

.help-form .check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.help-btn {
    padding: 9px 14px;
    background: #0870c9;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.help-btn:hover {
    background: #005ba8;
}

/***********************************************/
/* RESPONSIVE */
/***********************************************/
@media (max-width: 900px) {
    .help-wrap {
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

    .help-toolbar .help-search {
        margin-left: 5px;
    }
}

@media (max-width: 700px) {
    .help-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .help-toolbar .help-search {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 5px 0 0;
    }
}

@media (max-width: 600px) {
    .help-wrap {
        width: auto;
        margin: 15px 10px 30px;
        padding: 0 5px;
    }

    .help-title {
        font-size: 26px;
    }

    .help-topic,
    .help-topic:has(.body) {
        width: 100%;
        padding: 12px;
    }
}
