@charset "utf-8";

/* Help Page Specific Styles */

.help-container {
    padding: 20px;
    max-width: 850px;
    margin: 0 auto 50px auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.help-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #505050;
}

.help-intro p {
    color: #666;
    margin-top: 10px;
}

/* Section Group */
.section-group {
    margin-bottom: 35px;
}

.section-group-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #cc8031, #ae5920);
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.section-group-title img {
    width: 26px;
    height: 26px;
    filter: brightness(10);
}

/* Accordion Styles */
.accordion {
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #fff;
    padding: 14px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #cc8031;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-icon {
    font-size: 1.2rem;
    color: #ae5920;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fafafa;
}

.accordion-content.active {
    border-top: 1px solid #eee;
}

.content-inner {
    padding: 20px;
    color: #444;
    line-height: 1.7;
}

.content-inner h3 {
    color: #ae5920;
    font-size: 1.05rem;
    margin-bottom: 10px;
    margin-top: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.content-inner h3:first-child {
    margin-top: 5px;
}

.content-inner ul,
.content-inner ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-inner li {
    margin-bottom: 6px;
}

.content-inner p {
    margin-bottom: 10px;
}

/* Specific Section Icons */
.section-icon {
    margin-right: 10px;
    vertical-align: middle;
}

.section-icon-img {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 8px;
}

.help-screenshot {
    display: block;
    max-width: 100%;
    width: 280px;
    margin: 15px auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Info/Tip/Note Boxes */
.help-tip {
    background-color: #fff8ed;
    border-left: 4px solid #cc8031;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    color: #555;
}

.help-tip strong {
    color: #ae5920;
}

.help-note {
    background-color: #eef6ff;
    border-left: 4px solid #3a7bd5;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    color: #555;
}

.help-note strong {
    color: #3a7bd5;
}

.help-warning {
    background-color: #fff0f0;
    border-left: 4px solid #d44;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    color: #555;
}

.help-warning strong {
    color: #d44;
}

/* Sub-section headers inside content */
.content-inner h4 {
    color: #666;
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Formula styling */
.formula {
    background: #f4f4f4;
    padding: 10px 16px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
    margin: 10px 0;
    text-align: center;
    color: #333;
}

/* Field description list */
.field-list {
    margin: 10px 0;
}

.field-list dt {
    font-weight: bold;
    color: #ae5920;
    margin-top: 8px;
}

.field-list dd {
    margin-left: 20px;
    margin-bottom: 4px;
    color: #555;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .help-container {
        padding: 10px;
        width: 95%;
    }

    .accordion-header {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .section-group-title {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Rotate icon when active */
.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}