/* Dynamic List Widget Styles */
.dynamic-list-widget {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    background-color: #f9f9f9;
}

.dynamic-list-instructions {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
}

.dynamic-list-instructions p {
    margin: 0;
    font-size: 13px;
    color: #1976d2;
}

.dynamic-list-items {
    margin-bottom: 15px;
}

.dynamic-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.list-item-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.list-item-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.remove-item-btn {
    padding: 6px 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    min-width: 30px;
}

.remove-item-btn:hover {
    background-color: #c82333;
}

.add-item-btn {
    padding: 8px 16px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.add-item-btn:hover {
    background-color: #5a6268;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dynamic-list-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .list-item-input {
        margin-bottom: 5px;
    }
    
    .remove-item-btn {
        align-self: flex-end;
        max-width: 100px;
    }
}
