/* =====================================================
   HELP SYSTEM STYLES
   ===================================================== */

/* Help Icon Styles */
.help-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    margin-left: 4px;
    cursor: help;
    transition: all 0.3s ease;
}

.help-icon:hover,
.help-icon.help-icon-hover {
    background: #495057;
    transform: scale(1.1);
}

/* Help modal content styles */
.help-modal-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.5;
}

.help-modal-content h5,
.help-modal-content h6 {
    margin-top: 0;
    margin-bottom: 15px;
}

.help-modal-content p {
    margin-bottom: 15px;
}

.help-modal-content ul {
    padding-left: 20px;
}

.help-modal-content li {
    margin-bottom: 8px;
}

/* Help modal title styling */
.help-modal-title {
    margin: 0;
    color: #fff;
    font-weight: 600;
}

/* Help modal content wrapper */
.help-content-wrapper {
    padding: 20px;
    font-family: inherit;
    line-height: 1.6;
}

.help-section-title {
    margin-bottom: 15px;

    margin-top: 0;
}

.help-description {
    margin-bottom: 20px;
    line-height: 1.5;

    font-size: 14px;
}

/* Validation help specific styles */
.validation-help-indicators {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.validation-help-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.validation-help-indicator:last-child {
    margin-bottom: 0;
}

.validation-help-tip {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-top: 20px;
}

/* Help indicators section */
.help-indicators-section {

    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.help-subsection-title {
    margin-bottom: 15px;

    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
}

.help-indicator-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.help-indicator-item:last-child {
    margin-bottom: 0;
}



.help-indicator-text {
    flex: 1;
    font-size: 14px;
}

/* Help action section */
.help-action-section {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
}

.help-action-title {
    margin-bottom: 10px;
    color: #0056b3 !important;
    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
}

.help-action-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
}

.help-action-list li {
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

/* Help tip */
.help-tip {
    padding: 12px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
    margin: 0;
    font-size: 14px;
    color: #1565c0;
}

/* Generic help content */
.help-generic-content {
    text-align: center;
    padding: 20px;
}

.help-generic-content h4 {
    color: #495057;
    margin-bottom: 15px;
}

.help-generic-content p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #6c757d;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .jd3-help-modal .help-modal-container {
        max-width: 90vw;
        margin: 20px;
    }

    .help-modal-body {
        padding: 15px;
    }

    .help-indicator-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .help-example-tick,
    .help-example-cross {
        align-self: flex-start;
    }
}