/* Help System Styles */

/* Help Icon */
.help-icon {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.help-icon:hover {
    background-color: rgba(0, 102, 204, 0.1);
    transform: scale(1.1);
}

/* Help Overlay */
.help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.help-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Help Modal */
.help-modal {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: help-modal-in 0.3s ease forwards;
}

@keyframes help-modal-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Help Header */
.help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.help-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.help-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #666666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.help-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333333;
}

/* Help Content */
.help-content {
    padding: 20px;
    overflow-y: auto;
    line-height: 1.6;
}

.help-content h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.help-content p {
    margin-bottom: 16px;
    color: #444444;
}

.help-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.help-content li {
    margin-bottom: 8px;
    color: #444444;
}

/* Tab Button Container */
.tab-button-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .help-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .help-header {
        padding: 12px 16px;
    }
    
    .help-content {
        padding: 16px;
    }
}