/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-secondary);
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: var(--text-primary);
}

.close {
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: var(--text-primary);
}

/* Settings & Help Content */
.settings-content,
.help-content {
    padding: 20px 0;
}

.help-content h3 {
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
}

.help-content h3:first-child {
    margin-top: 0;
}

.help-content h4 {
    color: var(--text-primary);
    margin-top: 15px;
    margin-bottom: 8px;
}

.help-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.help-content ul {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.help-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}
